From 703ca18c66d6e7b209b13f415dfc52624801c77a Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 20 Sep 2008 21:14:25 +0000 Subject: 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 --- include/hash_map.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/hash_map.h') 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 + /** 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 { -- cgit v1.2.3