Skip to content
Merged
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
src: fix AsyncProgressQueueWorker compilation
We need to cast the `nullptr` to the templated type of the
`AsyncProgressQueueWorker`.

Fixes: #695
PR-URL: #696
Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com>
  • Loading branch information
Gabriel Schulhof committed Apr 6, 2020
commit 63f8f018c153d0cfca79498897a9ecc7720f4427
2 changes: 1 addition & 1 deletion napi-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -4792,7 +4792,7 @@ inline void AsyncProgressWorker<T>::SendProgress_(const T* data, size_t count) {

template<class T>
inline void AsyncProgressWorker<T>::Signal() const {
this->NonBlockingCall(nullptr);
this->NonBlockingCall(static_cast<T*>(nullptr));
}

template<class T>
Expand Down