File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,8 @@ void ContextifyContext::MakeContext(const FunctionCallbackInfo<Value>& args) {
293293 }
294294
295295 TryCatchScope try_catch (env);
296- auto context_ptr = std::make_unique<ContextifyContext>(env, sandbox, options);
296+ std::unique_ptr<ContextifyContext> context_ptr =
297+ std::make_unique<ContextifyContext>(env, sandbox, options);
297298
298299 if (try_catch.HasCaught ()) {
299300 if (!try_catch.HasTerminated ())
@@ -395,7 +396,7 @@ void ContextifyContext::PropertySetterCallback(
395396 return ;
396397
397398 Local<Context> context = ctx->context ();
398- auto attributes = PropertyAttribute::None;
399+ PropertyAttribute attributes = PropertyAttribute::None;
399400 bool is_declared_on_global_proxy = ctx->global_proxy ()
400401 ->GetRealNamedPropertyAttributes (context, property)
401402 .To (&attributes);
@@ -481,7 +482,7 @@ void ContextifyContext::PropertyDefinerCallback(
481482 Local<Context> context = ctx->context ();
482483 Isolate* isolate = context->GetIsolate ();
483484
484- auto attributes = PropertyAttribute::None;
485+ PropertyAttribute attributes = PropertyAttribute::None;
485486 bool is_declared =
486487 ctx->global_proxy ()->GetRealNamedPropertyAttributes (context,
487488 property)
You can’t perform that action at this time.
0 commit comments