Skip to content

Commit

Permalink
src: fix gcc-11 c++20 compilation
Browse files Browse the repository at this point in the history
Closes: nodejs#1007
  • Loading branch information
KevinEady committed Jun 11, 2021
1 parent b75afc4 commit dc25e0b
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 dc25e0b

Please sign in to comment.