Skip to content

Commit e1a827a

Browse files
author
Gabriel Schulhof
authored
src: fix AsyncProgressQueueWorker compilation (#696)
We need to cast the `nullptr` to the templated type of the `AsyncProgressQueueWorker`. Fixes: #695 PR-URL: #696 Signed-off-by: Gabriel Schulhof <[email protected]>
1 parent 2c3d5df commit e1a827a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

napi-inl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4792,7 +4792,7 @@ inline void AsyncProgressWorker<T>::SendProgress_(const T* data, size_t count) {
47924792

47934793
template<class T>
47944794
inline void AsyncProgressWorker<T>::Signal() const {
4795-
this->NonBlockingCall(nullptr);
4795+
this->NonBlockingCall(static_cast<T*>(nullptr));
47964796
}
47974797

47984798
template<class T>

0 commit comments

Comments
 (0)