| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5553be3 commit a47fd67
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -301,7 +301,8 @@ void ContextifyContext::MakeContext(const FunctionCallbackInfo<Value>& args) { | |||
| 301 | 301 | } | |
| 302 | 302 | ||
| 303 | 303 | TryCatchScope try_catch(env); | |
| 304 | - auto context_ptr = std::make_unique<ContextifyContext>(env, sandbox, options); | ||
| 304 | + std::unique_ptr<ContextifyContext> context_ptr = | ||
| 305 | + std::make_unique<ContextifyContext>(env, sandbox, options); | ||
| 305 | 306 | ||
| 306 | 307 | if (try_catch.HasCaught()) { | |
| 307 | 308 | if (!try_catch.HasTerminated()) | |
@@ -403,7 +404,7 @@ void ContextifyContext::PropertySetterCallback( | |||
| 403 | 404 | return; | |
| 404 | 405 | ||
| 405 | 406 | Local<Context> context = ctx->context(); | |
| 406 | - auto attributes = PropertyAttribute::None; | ||
| 407 | + PropertyAttribute attributes = PropertyAttribute::None; | ||
| 407 | 408 | bool is_declared_on_global_proxy = ctx->global_proxy() | |
| 408 | 409 | ->GetRealNamedPropertyAttributes(context, property) | |
| 409 | 410 | .To(&attributes); | |
@@ -489,7 +490,7 @@ void ContextifyContext::PropertyDefinerCallback( | |||
| 489 | 490 | Local<Context> context = ctx->context(); | |
| 490 | 491 | Isolate* isolate = context->GetIsolate(); | |
| 491 | 492 | ||
| 492 | - auto attributes = PropertyAttribute::None; | ||
| 493 | + PropertyAttribute attributes = PropertyAttribute::None; | ||
| 493 | 494 | bool is_declared = | |
| 494 | 495 | ctx->global_proxy()->GetRealNamedPropertyAttributes(context, | |
| 495 | 496 | property) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments