Replace scoped_ptr by unique_ptr

This commit is contained in:
Twan van Laarhoven
2020-04-25 22:28:32 +02:00
parent b7ed93cd02
commit 37c8641641
6 changed files with 7 additions and 13 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ ScriptValueP Context::eval(const Script& script, bool useScope) {
// Evaluate the current instruction
Instruction i = *instr++;
// If a scope is created, destroy it at end of block.
scoped_ptr<LocalScope> new_scope;
unique_ptr<LocalScope> new_scope;
switch (i.instr) {
case I_NOP: break;