mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Revert "Update ScriptTest.cpp"
This reverts commit 40aa2414ebeb14274aed4d2b77f6847ac0f8b28b.
This commit is contained in:
parent
f2d4d7103a
commit
bdcd60f8af
1 changed files with 1 additions and 2 deletions
|
|
@ -32,8 +32,7 @@
|
||||||
|
|
||||||
inline ConsoleValue RunScript(const char* str)
|
inline ConsoleValue RunScript(const char* str)
|
||||||
{
|
{
|
||||||
auto result = Con::evaluate(str, false, NULL);
|
return std::move(Con::evaluate(str, false, NULL).value);
|
||||||
return result.value; // ensure lifetime is safe
|
|
||||||
}
|
}
|
||||||
|
|
||||||
using ::testing::Matcher;
|
using ::testing::Matcher;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue