Skip to content

Commit 4bb680d

Browse files
authored
Remove misleading sentence (#847)
The address-of operator is required for all class members. PR-URL: #847 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]> Reviewed-By: NickNaso <[email protected]>
1 parent 48e6b58 commit 4bb680d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ and define it as
4848
This way, the `Napi::ObjectWrap` constructor will be invoked after the object has been instantiated and `Napi::ObjectWrap` can use the `this` pointer to create a reference to the wrapped object.
4949

5050
2. Move your original constructor code into the new constructor. Delete your original constructor.
51-
3. In your class initialization function, associate native methods in the following way. The `&` character before methods is required because they are not static methods but instance methods.
51+
3. In your class initialization function, associate native methods in the following way.
5252
```
5353
Napi::FunctionReference constructor;
5454

0 commit comments

Comments
 (0)