mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
more console refactor.
This commit is contained in:
parent
5e81c021f5
commit
50df52ecfc
15 changed files with 150 additions and 158 deletions
|
|
@ -2592,7 +2592,7 @@ ConsoleValue _BaseEngineConsoleCallbackHelper::_exec()
|
|||
{
|
||||
ConsoleValue returnValue = std::move(Con::_internalExecute( mThis, mArgc, mArgv, false ));
|
||||
mArgc = mInitialArgc; // reset
|
||||
return returnValue;
|
||||
return std::move(returnValue);
|
||||
}
|
||||
|
||||
STR.clearFunctionOffset();
|
||||
|
|
@ -2609,7 +2609,7 @@ ConsoleValue _BaseEngineConsoleCallbackHelper::_execLater(SimConsoleThreadExecEv
|
|||
{
|
||||
mArgc = mInitialArgc; // reset args
|
||||
Sim::postEvent((SimObject*)Sim::getRootGroup(), evt, Sim::getCurrentTime());
|
||||
return evt->getCB().waitForResult();
|
||||
return std::move(evt->getCB().waitForResult());
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue