Skip to content

Commit

Permalink
src: fix gcc-11 c++20 compilation
Browse files Browse the repository at this point in the history
Fixes: #1007

PR-URL: #1009
Reviewed-By: Michael Dawson <midawson@redhat.com>
  • Loading branch information
KevinEady authored and mhdawson committed Jun 14, 2021
1 parent b75afc4 commit fed1353
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions napi.h
Original file line number Diff line number Diff line change
Expand Up @@ -2474,9 +2474,8 @@ namespace Napi {
Finalizer finalizeCallback,
FinalizerDataType* data = nullptr);

TypedThreadSafeFunction<ContextType, DataType, CallJs>();
TypedThreadSafeFunction<ContextType, DataType, CallJs>(
napi_threadsafe_function tsFunctionValue);
TypedThreadSafeFunction();
TypedThreadSafeFunction(napi_threadsafe_function tsFunctionValue);

operator napi_threadsafe_function() const;

Expand Down

0 comments on commit fed1353

Please sign in to comment.