Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nan_callbacks.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ namespace Intercepted {
};
#else
namespace Intercepted {
inline void No() {}
inline void Yes() {}
inline void No() {}
inline void Yes() {}
};
#endif

Expand Down
1 change: 1 addition & 0 deletions nan_callbacks_12_inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ class FunctionCallbackInfo {
}

#if NODE_MAJOR_VERSION < 10

NAN_DEPRECATED inline v8::Local<v8::Function> Callee() const {
return info_.Callee();
}
Expand Down
4 changes: 2 additions & 2 deletions test/js/methodswithdata-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ const test = require('tap').test
const nodeVersion = parseInt(process.versions.node.split('.')[0]);

test('SetMethod with data', function (t) {
t.plan(1);
t.ok(bindings.testWithData());
t.plan(1);
t.ok(bindings.testWithData());
});

test('accessors with data', function (t) {
Expand Down