Skip to content

Commit 10e785a

Browse files
committed
Remove misleading sentence (#847)
The address-of operator is required for all class members. PR-URL: nodejs/node-addon-api#847 Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: NickNaso <nicoladelgobbo@gmail.com>
1 parent 7645ee2 commit 10e785a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)