Update ScriptTest.cpp

This commit is contained in:
marauder2k7 2025-05-11 23:02:36 +01:00
parent c6e0eade04
commit f3046a9c3e

View file

@ -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;