fixes and some minor bc adjustment.

This commit is contained in:
Jeff Hutchinson 2021-04-16 23:21:39 -04:00
parent bc0f5bd3a3
commit bfc0109485
7 changed files with 11 additions and 22 deletions

View file

@ -175,14 +175,14 @@ class ConsoleValue
}
public:
ConsoleValue()
explicit ConsoleValue()
{
setEmptyString();
type = ConsoleValueType::cvSTEntry;
s = const_cast<char*>(StringTable->EmptyString());
}
ConsoleValue(ConsoleValue&& ref) noexcept
{
cleanupData();
type = ref.type;
switch (ref.type)
@ -217,7 +217,6 @@ public:
TORQUE_FORCEINLINE void reset()
{
cleanupData();
setEmptyString();
}