COMP: Hopefully fix hashmap on VS6, Thanks Brad K!

This commit is contained in:
Dave Partyka 2009-06-05 14:59:47 -04:00
parent 0de79d4b2d
commit cbc1938ee3
1 changed files with 2 additions and 2 deletions

View File

@ -212,9 +212,9 @@ inline PIn hash_allocate_type(PIn (*)(TSize),
// Define the comparison operators in terms of a base type to avoid // Define the comparison operators in terms of a base type to avoid
// needing templated versions. // needing templated versions.
class hash_allocator_base {}; class hash_allocator_base {};
bool operator==(const hash_allocator_base&, inline bool operator==(const hash_allocator_base&,
const hash_allocator_base&) throw() { return true; } 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; } const hash_allocator_base&) throw() { return false; }
// Define the allocator template. // Define the allocator template.