mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Revert "Update ScriptTest.cpp"
This reverts commit 40aa2414ebeb14274aed4d2b77f6847ac0f8b28b.
This commit is contained in:
parent
f2d4d7103a
commit
bdcd60f8af
|
|
@ -32,8 +32,7 @@
|
|||
|
||||
inline ConsoleValue RunScript(const char* str)
|
||||
{
|
||||
auto result = Con::evaluate(str, false, NULL);
|
||||
return result.value; // ensure lifetime is safe
|
||||
return std::move(Con::evaluate(str, false, NULL).value);
|
||||
}
|
||||
|
||||
using ::testing::Matcher;
|
||||
|
|
|
|||
Loading…
Reference in a new issue