| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4d9129e commit 7d82200
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -293,7 +293,8 @@ void ContextifyContext::MakeContext(const FunctionCallbackInfo<Value>& args) { | |||
| 293 | 293 | } | |
| 294 | 294 | ||
| 295 | 295 | 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); | ||
| 297 | 298 | ||
| 298 | 299 | if (try_catch.HasCaught()) { | |
| 299 | 300 | if (!try_catch.HasTerminated()) | |
@@ -395,7 +396,7 @@ void ContextifyContext::PropertySetterCallback( | |||
| 395 | 396 | return; | |
| 396 | 397 | ||
| 397 | 398 | Local<Context> context = ctx->context(); | |
| 398 | - auto attributes = PropertyAttribute::None; | ||
| 399 | + PropertyAttribute attributes = PropertyAttribute::None; | ||
| 399 | 400 | bool is_declared_on_global_proxy = ctx->global_proxy() | |
| 400 | 401 | ->GetRealNamedPropertyAttributes(context, property) | |
| 401 | 402 | .To(&attributes); | |
@@ -481,7 +482,7 @@ void ContextifyContext::PropertyDefinerCallback( | |||
| 481 | 482 | Local<Context> context = ctx->context(); | |
| 482 | 483 | Isolate* isolate = context->GetIsolate(); | |
| 483 | 484 | ||
| 484 | - auto attributes = PropertyAttribute::None; | ||
| 485 | + PropertyAttribute attributes = PropertyAttribute::None; | ||
| 485 | 486 | bool is_declared = | |
| 486 | 487 | ctx->global_proxy()->GetRealNamedPropertyAttributes(context, | |
| 487 | 488 | property) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments