diff options
author | Brad King <brad.king@kitware.com> | 2005-04-15 13:54:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-04-15 13:54:03 (GMT) |
commit | 6c68c8147532bbc07e467b6e80cbfbee07b99f26 (patch) | |
tree | 2748e864e7b3f90576e20153ee7eb53107938abe /Source/kwsys/hash_map.hxx.in | |
parent | 4caefef37eb2f23948d915a6d33447ef4e6243c1 (diff) | |
download | CMake-6c68c8147532bbc07e467b6e80cbfbee07b99f26.zip CMake-6c68c8147532bbc07e467b6e80cbfbee07b99f26.tar.gz CMake-6c68c8147532bbc07e467b6e80cbfbee07b99f26.tar.bz2 |
ENH: Added KWSys try-compiles KWSYS_STL_HAS_ITERATOR_TRAITS, KWSYS_STL_HAS_ITERATOR_CATEGORY, KWSYS_STL_HAS___ITERATOR_CATEGORY, and KWSYS_STL_HAS_ALLOCATOR_NONTEMPLATE to get the hash table to compile on old HP and Sun compilers.
Diffstat (limited to 'Source/kwsys/hash_map.hxx.in')
-rw-r--r-- | Source/kwsys/hash_map.hxx.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/hash_map.hxx.in b/Source/kwsys/hash_map.hxx.in index d0ff1bd..e73080a 100644 --- a/Source/kwsys/hash_map.hxx.in +++ b/Source/kwsys/hash_map.hxx.in @@ -71,7 +71,7 @@ struct hash_select1st: template <class _Key, class _Tp, class _HashFcn = hash<_Key>, class _EqualKey = kwsys_stl::equal_to<_Key>, - class _Alloc = kwsys_stl::allocator<char> > + class _Alloc = @KWSYS_NAMESPACE@_HASH_DEFAULT_ALLOCATOR(char) > class hash_map; template <class _Key, class _Tp, class _HashFn, class _EqKey, class _Alloc> @@ -263,7 +263,7 @@ swap(hash_map<_Key,_Tp,_HashFcn,_EqlKey,_Alloc>& __hm1, template <class _Key, class _Tp, class _HashFcn = hash<_Key>, class _EqualKey = kwsys_stl::equal_to<_Key>, - class _Alloc = kwsys_stl::allocator<char> > + class _Alloc = @KWSYS_NAMESPACE@_HASH_DEFAULT_ALLOCATOR(char) > class hash_multimap; template <class _Key, class _Tp, class _HF, class _EqKey, class _Alloc> |