summaryrefslogtreecommitdiff
blob: de3d59c90771a54a8028224839f1b49e8b9e1450 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- Shaaft-0.5.0.orig/utils/HashString.hpp
+++ Shaaft-0.5.0/utils/HashString.hpp
@@ -21,6 +21,7 @@ using namespace std;
 
 namespace HASH_NAMESPACE
 {
+    template <>
     struct hash<const string>
     {
 	//a simple hash function for string
@@ -32,6 +33,7 @@ namespace HASH_NAMESPACE
 	}
     };
 
+    template <>
     struct hash<string>
     {
 	//a simple hash function for string