diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-06-12 18:17:28 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-06-12 18:17:28 +0000 |
commit | 06a25cab68a58a4c9e985a394590b3288de33723 (patch) | |
tree | 33d4766c59b104c386c9f1a2f14e4483924c75f1 /include/hashcomp.h | |
parent | e56613b0035f2e9acf912af4ab68ad410100e1ea (diff) |
Fix to allow namespace std { namespace tr1 {
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9893 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r-- | include/hashcomp.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h index 928abe809..e93875e3e 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -645,8 +645,8 @@ inline std::string& trim(std::string &str) /** Hashing stuff is totally different on vc++'s hash_map implementation, so to save a buttload of * #ifdefs we'll just do it all at once */ -namespace nspace -{ +BEGIN_HASHMAP_NAMESPACE + /** Hashing function to hash irc::string */ #ifdef WINDOWS @@ -711,7 +711,8 @@ namespace nspace * @param n A string to lowercase */ void strlower(char *n); -} + +END_HASHMAP_NAMESPACE #endif |