From cbc1938ee3ecd5c86c4e4d253339ac3a46b8f4ed Mon Sep 17 00:00:00 2001 From: Dave Partyka Date: Fri, 5 Jun 2009 14:59:47 -0400 Subject: [PATCH] COMP: Hopefully fix hashmap on VS6, Thanks Brad K! --- Source/kwsys/hashtable.hxx.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/kwsys/hashtable.hxx.in b/Source/kwsys/hashtable.hxx.in index ee0305170..9adf5c008 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.