blob: 604eb71556521ff6a6a4f24dfd25821de08e72c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
diff -uprN Shaaft-0.5.0.orig/utils/HashString.hpp Shaaft-0.5.0/utils/HashString.hpp
--- Shaaft-0.5.0.orig/utils/HashString.hpp 2005-06-05 18:12:29.000000000 +0200
+++ Shaaft-0.5.0/utils/HashString.hpp 2005-06-05 18:24:05.000000000 +0200
@@ -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
|