Skip to content
Open
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
8 changes: 4 additions & 4 deletions napi.h
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,10 @@ class BasicEnv {
// ... occurs when comparing foo.Env() == bar.Env() or foo.Env() == nullptr
bool operator==(const BasicEnv& other) const {
return _env == other._env;
};
}
bool operator==(std::nullptr_t /*other*/) const {
return _env == nullptr;
};
}

#if NAPI_VERSION > 2
template <typename Hook, typename Arg = void>
Expand Down Expand Up @@ -3126,8 +3126,8 @@ class AsyncProgressWorkerBase : public AsyncWorker {

AsyncProgressWorkerBase* asyncprogressworker() {
return _asyncprogressworker;
};
DataType* data() { return _data; };
}
DataType* data() { return _data; }

private:
AsyncProgressWorkerBase* _asyncprogressworker;
Expand Down
Loading