Skip to content

Commit

Permalink
test: fix compilation problem on debian 8
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node-addon-api#1138
Reviewed-By: Michael Dawson <midawson@redhat.com
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
Marlyfleitas committed Feb 21, 2022
1 parent 814568e commit 4dcc122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/objectwrap_function.cc
Expand Up @@ -36,7 +36,7 @@ class FunctionTest : public Napi::ObjectWrap<FunctionTest> {
};

std::unordered_map<napi_env, Napi::FunctionReference>
FunctionTest::constructors = {};
FunctionTest::constructors;

Napi::Object InitObjectWrapFunction(Napi::Env env) {
Napi::Object exports = Napi::Object::New(env);
Expand Down

0 comments on commit 4dcc122

Please sign in to comment.