- copied constexpr declarations plus a few fixed in utility code and fixed a few places where this triggered a compile error now.

This commit is contained in:
Christoph Oelckers 2020-09-27 08:36:30 +02:00
commit db895b43b2
9 changed files with 49 additions and 28 deletions

View file

@ -450,7 +450,7 @@ void FStringTable::InsertString(int lumpnum, int langid, FName label, const FStr
auto replace = allMacros.CheckKey(lookupname);
for (int i = 0; i < 4; i++)
{
const char *replacement = replace && replace->Replacements[i] ? replace->Replacements[i].GetChars() : "";
const char *replacement = replace? replace->Replacements[i].GetChars() : "";
te.strings[i].Substitute(replacee, replacement);
}
}