- Make FName::NameManager::Inited a static member variable.

SVN r4204 (trunk)
This commit is contained in:
Randy Heit 2013-03-24 02:35:29 +00:00
parent 324b13c89b
commit 332b1091b4
2 changed files with 2 additions and 1 deletions

View file

@ -65,6 +65,7 @@ struct FName::NameManager::NameBlock
// PRIVATE DATA DEFINITIONS ------------------------------------------------ // PRIVATE DATA DEFINITIONS ------------------------------------------------
FName::NameManager FName::NameData; FName::NameManager FName::NameData;
bool FName::NameManager::Inited;
// Define the predefined names. // Define the predefined names.
static const char *PredefinedNames[] = static const char *PredefinedNames[] =

View file

@ -116,7 +116,7 @@ protected:
int AddName (const char *text, unsigned int hash, unsigned int bucket); int AddName (const char *text, unsigned int hash, unsigned int bucket);
NameBlock *AddBlock (size_t len); NameBlock *AddBlock (size_t len);
void InitBuckets (); void InitBuckets ();
bool Inited; static bool Inited;
}; };
static NameManager NameData; static NameManager NameData;