diff --git a/src/globals.h b/src/globals.h index 01d2ce6..c7a899e 100644 --- a/src/globals.h +++ b/src/globals.h @@ -10,17 +10,21 @@ #include #include #include +#include +//#include namespace CppJieba { using namespace std; + using __gnu_cxx::hash_map; + //using namespace stdext; //typedefs typedef unsigned int uint; typedef std::vector::iterator VSI; typedef std::vector VUINT16; typedef std::vector::const_iterator VUINT16_CONST_ITER; - typedef map TrieNodeMap; + typedef hash_map TrieNodeMap; }