mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 08:47:17 +01:00
Update sqratLightObj.h
This commit is contained in:
parent
9dab72a2a7
commit
12ac87d8fd
@ -399,7 +399,7 @@ struct LightObj {
|
||||
sq_pushobject(vm, mObj);
|
||||
Var<T> v(vm, -1);
|
||||
sq_pop(vm, 1);
|
||||
return v.value;
|
||||
return std::move(v.value);
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user