1
0
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:
Sandu Liviu Catalin 2021-01-31 17:31:49 +02:00
parent 9dab72a2a7
commit 12ac87d8fd

View File

@ -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);
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////