diff options
author | Dave Partyka <dave.partyka@kitware.com> | 2009-06-05 18:59:47 (GMT) |
---|---|---|
committer | Dave Partyka <dave.partyka@kitware.com> | 2009-06-05 18:59:47 (GMT) |
commit | cbc1938ee3ecd5c86c4e4d253339ac3a46b8f4ed (patch) | |
tree | fc314de5f484b2040f975f0334c37cd3ced93a0e /Source/kwsys/hashtable.hxx.in | |
parent | 0de79d4b2d8918b0a520728d406a56251dac1fa9 (diff) | |
download | CMake-cbc1938ee3ecd5c86c4e4d253339ac3a46b8f4ed.zip CMake-cbc1938ee3ecd5c86c4e4d253339ac3a46b8f4ed.tar.gz CMake-cbc1938ee3ecd5c86c4e4d253339ac3a46b8f4ed.tar.bz2 |
COMP: Hopefully fix hashmap on VS6, Thanks Brad K!
Diffstat (limited to 'Source/kwsys/hashtable.hxx.in')
-rw-r--r-- | Source/kwsys/hashtable.hxx.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/hashtable.hxx.in b/Source/kwsys/hashtable.hxx.in index ee03051..9adf5c0 100644 --- a/Source/kwsys/hashtable.hxx.in +++ b/Source/kwsys/hashtable.hxx.in @@ -212,9 +212,9 @@ inline PIn hash_allocate_type(PIn (*)(TSize), // Define the comparison operators in terms of a base type to avoid // needing templated versions. class hash_allocator_base {}; -bool operator==(const hash_allocator_base&, +inline bool operator==(const hash_allocator_base&, const hash_allocator_base&) throw() { return true; } -bool operator!=(const hash_allocator_base&, +inline bool operator!=(const hash_allocator_base&, const hash_allocator_base&) throw() { return false; } // Define the allocator template. |