summaryrefslogtreecommitdiff
path: root/include/hash_map.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-20 21:14:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-20 21:14:25 +0000
commit703ca18c66d6e7b209b13f415dfc52624801c77a (patch)
treee1d331e024b46fcbc8165d936b995ce72247f104 /include/hash_map.h
parentf67620f774935e2c1aa8f0dd814fc7d915fb5ab4 (diff)
More comments, and remove some unused craq. Someone (that being me) once wrote a craqy imitation of std::bitset called dynamicbitmask which took up a large amount of hashcomp.{h,cpp} before i actually knew that std::bitset existed. NOTHING has ever used this class, so whack it as tidyup, knowing it wont
break anything :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10567 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/hash_map.h')
-rw-r--r--include/hash_map.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/hash_map.h b/include/hash_map.h
index 3665d9b1a..dfce5d94a 100644
--- a/include/hash_map.h
+++ b/include/hash_map.h
@@ -15,7 +15,7 @@
#define INSPIRCD_HASHMAP_H
/** Where hash_map is varies from compiler to compiler
- * as it is not standard.
+ * as it is not standard unless we have tr1.
*/
#ifndef WIN32
#ifndef HASHMAP_DEPRECATED
@@ -25,7 +25,9 @@
#define BEGIN_HASHMAP_NAMESPACE namespace nspace {
#define END_HASHMAP_NAMESPACE }
#else
+ /** Yay, we have tr1! */
#include <tr1/unordered_map>
+ /** Not so oddball linux namespace for hash_map with gcc 4.0 and above */
#define hash_map unordered_map
#define nspace std::tr1
#define BEGIN_HASHMAP_NAMESPACE namespace std { namespace tr1 {