From e906b5a7ce248db3df6f1e856fda04d6dd14f6a7 Mon Sep 17 00:00:00 2001 From: NickNaso Date: Sat, 19 Feb 2022 11:55:27 +0100 Subject: [PATCH] test: fix compilation problem on debian 8 PR-URL: https://github.com/nodejs/node-addon-api/pull/1138 Reviewed-By: Michael Dawson --- test/objectwrap_function.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/objectwrap_function.cc b/test/objectwrap_function.cc index be55ff3b4..4c2e1bbe2 100644 --- a/test/objectwrap_function.cc +++ b/test/objectwrap_function.cc @@ -36,7 +36,7 @@ class FunctionTest : public Napi::ObjectWrap { }; std::unordered_map - FunctionTest::constructors = {}; + FunctionTest::constructors; Napi::Object InitObjectWrapFunction(Napi::Env env) { Napi::Object exports = Napi::Object::New(env);