summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/hashtable.hxx.in
diff options
context:
space:
mode:
authorDave Partyka <dave.partyka@kitware.com>2009-06-05 18:59:47 (GMT)
committerDave Partyka <dave.partyka@kitware.com>2009-06-05 18:59:47 (GMT)
commitcbc1938ee3ecd5c86c4e4d253339ac3a46b8f4ed (patch)
treefc314de5f484b2040f975f0334c37cd3ced93a0e /Source/kwsys/hashtable.hxx.in
parent0de79d4b2d8918b0a520728d406a56251dac1fa9 (diff)
downloadCMake-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.in4
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.