Fix warning in assert statement

This commit is contained in:
Randy Heit 2015-06-13 18:19:09 -05:00
parent 7ba577e1b0
commit 245a46735d

View file

@ -182,7 +182,7 @@ void FName::NameManager::InitBuckets ()
// Register built-in names. 'None' must be name 0. // Register built-in names. 'None' must be name 0.
for (size_t i = 0; i < countof(PredefinedNames); ++i) for (size_t i = 0; i < countof(PredefinedNames); ++i)
{ {
assert(NULL == FindName(PredefinedNames[i], true) && "Predefined name already inserted"); assert((NULL == FindName(PredefinedNames[i], true)) && "Predefined name already inserted");
FindName (PredefinedNames[i], false); FindName (PredefinedNames[i], false);
} }
} }