mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- Make FName::NameManager::Inited a static member variable.
SVN r4204 (trunk)
This commit is contained in:
parent
324b13c89b
commit
332b1091b4
2 changed files with 2 additions and 1 deletions
|
@ -65,6 +65,7 @@ struct FName::NameManager::NameBlock
|
|||
// PRIVATE DATA DEFINITIONS ------------------------------------------------
|
||||
|
||||
FName::NameManager FName::NameData;
|
||||
bool FName::NameManager::Inited;
|
||||
|
||||
// Define the predefined names.
|
||||
static const char *PredefinedNames[] =
|
||||
|
|
|
@ -116,7 +116,7 @@ protected:
|
|||
int AddName (const char *text, unsigned int hash, unsigned int bucket);
|
||||
NameBlock *AddBlock (size_t len);
|
||||
void InitBuckets ();
|
||||
bool Inited;
|
||||
static bool Inited;
|
||||
};
|
||||
|
||||
static NameManager NameData;
|
||||
|
|
Loading…
Reference in a new issue