mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Update console.h
This commit is contained in:
parent
eec4573782
commit
fb1840ab1d
|
|
@ -337,7 +337,8 @@ public:
|
|||
{
|
||||
cleanupData();
|
||||
type = ConsoleValueType::cvString;
|
||||
s = const_cast<char*>(ref);
|
||||
s = (char*)std::move(ref);
|
||||
bufferLen = len;
|
||||
}
|
||||
|
||||
TORQUE_FORCEINLINE void setBool(const bool val)
|
||||
|
|
@ -351,7 +352,8 @@ public:
|
|||
{
|
||||
cleanupData();
|
||||
type = ConsoleValueType::cvSTEntry;
|
||||
s = const_cast<char*>(val);
|
||||
s = (char*)std::move(val);
|
||||
bufferLen = 0;
|
||||
}
|
||||
|
||||
TORQUE_FORCEINLINE void setEmptyString()
|
||||
|
|
|
|||
Loading…
Reference in a new issue