COMP: Hopefully fix hashmap on VS6, Thanks Brad K!
This commit is contained in:
parent
0de79d4b2d
commit
cbc1938ee3
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue