blob: 196e9dcf818b35d4233bc1741cceea4e2913430b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
--- game/Input.hpp.old 2004-11-01 11:13:11.232726960 +0000
+++ game/Input.hpp 2004-11-01 11:13:24.057777256 +0000
@@ -28,7 +28,7 @@
namespace HASH_NAMESPACE
{
- struct hash<Trigger>
+ template <> struct hash<Trigger>
{
//a simple hash function for Trigger
int operator()(const Trigger &t) const
--- utils/HashString.hpp.old 2004-11-01 11:06:50.815559160 +0000
+++ utils/HashString.hpp 2004-11-01 11:07:13.640089304 +0000
@@ -21,7 +21,7 @@
namespace HASH_NAMESPACE
{
- struct hash<const string>
+ template <> struct hash<const string>
{
//a simple hash function for string
int operator()(const string & s) const
@@ -32,7 +32,7 @@
}
};
- struct hash<string>
+ template <> struct hash<string>
{
//a simple hash function for string
int operator()(string s) const
|