We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 845ba8e commit 7fef973Copy full SHA for 7fef973
1 file changed
napi.h
@@ -359,10 +359,10 @@ class BasicEnv {
359
// ... occurs when comparing foo.Env() == bar.Env() or foo.Env() == nullptr
360
bool operator==(const BasicEnv& other) const {
361
return _env == other._env;
362
- };
+ }
363
bool operator==(std::nullptr_t /*other*/) const {
364
return _env == nullptr;
365
366
367
#if NAPI_VERSION > 2
368
template <typename Hook, typename Arg = void>
@@ -3126,8 +3126,8 @@ class AsyncProgressWorkerBase : public AsyncWorker {
3126
3127
AsyncProgressWorkerBase* asyncprogressworker() {
3128
return _asyncprogressworker;
3129
3130
- DataType* data() { return _data; };
+ DataType* data() { return _data; }
3131
3132
private:
3133
AsyncProgressWorkerBase* _asyncprogressworker;
0 commit comments