Remove duplicated names from namedef.h
- Added an assertion in FName::NameManager::InitBuckets() that makes these errors easier to spot in the future.
This commit is contained in:
parent
82c22459dc
commit
61b419c187
2 changed files with 1 additions and 3 deletions
|
|
@ -182,6 +182,7 @@ void FName::NameManager::InitBuckets ()
|
|||
// Register built-in names. 'None' must be name 0.
|
||||
for (size_t i = 0; i < countof(PredefinedNames); ++i)
|
||||
{
|
||||
assert(NULL == FindName(PredefinedNames[i], true) && "Predefined name already inserted");
|
||||
FindName (PredefinedNames[i], false);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue