mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +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 ------------------------------------------------
|
// 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[] =
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue