Use unordered set and map for VS2013, ref #236
This commit is contained in:
parent
879f51d9d3
commit
360914017d
1 changed files with 6 additions and 6 deletions
|
@ -417,12 +417,12 @@ extern void operator delete[](void *p) throw();
|
||||||
# define CHashMap stdext::hash_map
|
# define CHashMap stdext::hash_map
|
||||||
# define CHashSet stdext::hash_set
|
# define CHashSet stdext::hash_set
|
||||||
# define CHashMultiMap stdext::hash_multimap
|
# define CHashMultiMap stdext::hash_multimap
|
||||||
#elif defined(NL_COMP_VC) && (NL_COMP_VC_VERSION >= 120)
|
#elif defined(NL_COMP_VC) && (NL_COMP_VC_VERSION >= 100)
|
||||||
# include <hash_map>
|
# include <unordered_map>
|
||||||
# include <hash_set>
|
# include <unordered_set>
|
||||||
# define CHashMap ::std::hash_map
|
# define CHashMap ::std::unordered_map
|
||||||
# define CHashSet ::std::hash_set
|
# define CHashSet ::std::unordered_set
|
||||||
# define CHashMultiMap ::std::hash_multimap
|
# define CHashMultiMap ::std::unordered_multimap
|
||||||
#elif defined(NL_COMP_GCC) // GCC4
|
#elif defined(NL_COMP_GCC) // GCC4
|
||||||
# include <ext/hash_map>
|
# include <ext/hash_map>
|
||||||
# include <ext/hash_set>
|
# include <ext/hash_set>
|
||||||
|
|
Loading…
Reference in a new issue