Skip to content

Commit dba9728

Browse files
authored
Update lib/CppInterOp/CppInterOp.cpp
1 parent f4c269a commit dba9728

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/CppInterOp/CppInterOp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3800,9 +3800,9 @@ TCppObject_t Construct(compat::Interpreter& interp, TCppScope_t scope,
38003800
return nullptr;
38013801
// invoke the constructor (placement/heap) in one shot
38023802
// flag is non-null for placement new, null for normal new
3803-
void* flag = arena ? reinterpret_cast<void*>(1) : nullptr;
3803+
void* is_arena = arena ? reinterpret_cast<void*>(1) : nullptr;
38043804
void* result = arena;
3805-
JC.InvokeConstructor(&result, count, {}, flag);
3805+
JC.InvokeConstructor(&result, count, /*args=*/{}, is_arena);
38063806
return result;
38073807
}
38083808
return nullptr;

0 commit comments

Comments
 (0)