mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
moar leak plug attempts
This commit is contained in:
parent
ea39c83afd
commit
ee0cf872a0
6 changed files with 108 additions and 11 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef _EVALSTATE_H
|
||||
#ifndef _EVALSTATE_H
|
||||
#define _EVALSTATE_H
|
||||
#include "console/consoleInternal.h"
|
||||
|
||||
|
|
@ -81,7 +81,7 @@ public:
|
|||
currentRegisterArray->values[reg].setStringTableEntry(val);
|
||||
}
|
||||
|
||||
TORQUE_FORCEINLINE void moveConsoleValue(S32 reg, ConsoleValue val)
|
||||
TORQUE_FORCEINLINE void moveConsoleValue(S32 reg, ConsoleValue&& val)
|
||||
{
|
||||
currentRegisterArray->values[reg] = std::move(val);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue