Commit b32015de authored by Dave Partyka's avatar Dave Partyka
Browse files

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

parent 3a66681b
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment