core/logic/Translator.h
changeset 4057 9f9f98843ca8
parent 3532 88a0d2c30bc3
child 4306 f8a08c7f0c92
     1.1 --- a/core/logic/Translator.h	Sun Aug 25 01:42:14 2013 -0700
     1.2 +++ b/core/logic/Translator.h	Sun Aug 25 01:42:15 2013 -0700
     1.3 @@ -33,7 +33,7 @@
     1.4  #define _INCLUDE_SOURCEMOD_TRANSLATOR_H_
     1.5  
     1.6  #include "common_logic.h"
     1.7 -#include <sm_trie_tpl.h>
     1.8 +#include <sm_stringhashmap.h>
     1.9  #include <sh_string.h>
    1.10  #include <sh_vector.h>
    1.11  #include "sm_memtable.h"
    1.12 @@ -79,7 +79,7 @@
    1.13  	void ParseError(const char *message, ...);
    1.14  	void ParseWarning(const char *message, ...);
    1.15  private:
    1.16 -	KTrie<int> m_PhraseLookup;
    1.17 +	StringHashMap<int> m_PhraseLookup;
    1.18  	String m_File;
    1.19  	Translator *m_pTranslator;
    1.20  	PhraseParseState m_ParseState;
    1.21 @@ -152,8 +152,8 @@
    1.22  	CVector<Language *> m_Languages;
    1.23  	CVector<CPhraseFile *> m_Files;
    1.24  	BaseStringTable *m_pStringTab;
    1.25 -	KTrie<unsigned int> m_LCodeLookup;
    1.26 -	KTrie<unsigned int> m_LAliases;
    1.27 +	StringHashMap<unsigned int> m_LCodeLookup;
    1.28 +	StringHashMap<unsigned int> m_LAliases;
    1.29  	bool m_InLanguageSection;
    1.30  	String m_CustomError;
    1.31  	unsigned int m_ServerLang;