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