瀏覽代碼

MAP => HMAP

hewei 6 年之前
父節點
當前提交
ab4657cbe5
共有 1 個文件被更改,包括 3 次插入4 次删除
  1. 3 4
      base/hstring.h

+ 3 - 4
base/hstring.h

@@ -43,15 +43,14 @@ public:
 };
 }
 
-// MAP
 #ifdef USE_MULTIMAP
-#define MAP     std::MultiMap
+#define HMAP    std::MultiMap
 #else
-#define MAP     std::map
+#define HMAP    std::map
 #endif
 
 // KeyValue
-typedef MAP<std::string, std::string> KeyValue;
+typedef HMAP<std::string, std::string> KeyValue;
 
 // std::map<std::string, std::string, StringCaseLess>
 class StringCaseLess : public std::binary_function<std::string, std::string, bool> {