From 0d3c097c299e75703eb7d4104ca8ec0a0215879e Mon Sep 17 00:00:00 2001 From: Sunghoon Choi Date: Thu, 26 Jan 2017 21:07:47 -0800 Subject: [PATCH] Resolve comments --- inc/napa/napa-module-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/napa/napa-module-internal.h b/inc/napa/napa-module-internal.h index dcc17a0..1ba5574 100644 --- a/inc/napa/napa-module-internal.h +++ b/inc/napa/napa-module-internal.h @@ -146,7 +146,7 @@ namespace module { auto isolate = v8::Isolate::GetCurrent(); v8::HandleScope scope(isolate); - ConstructorInfo* constructorInfo = + auto constructorInfo = reinterpret_cast(IsolateData::Get(IsolateDataId::CONSTRUCTOR)); if (constructorInfo == nullptr) { constructorInfo = new ConstructorInfo();