diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-08-16 13:26:42 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-08-16 13:26:42 +0000 |
commit | f5da8821f26667d2daf613ff6f032dade9bfdcf7 (patch) | |
tree | 6c90d8df2bff584f5f5d248aa0df1715a6b9bd4d /games/criticalmass/files | |
parent | cbdfc6e1353e9ae22e069d8e1e868ddb775acd59 (diff) |
Notes
Diffstat (limited to 'games/criticalmass/files')
-rw-r--r-- | games/criticalmass/files/patch-HashString.hpp | 20 | ||||
-rw-r--r-- | games/criticalmass/files/patch-Input.hpp | 11 |
2 files changed, 31 insertions, 0 deletions
diff --git a/games/criticalmass/files/patch-HashString.hpp b/games/criticalmass/files/patch-HashString.hpp new file mode 100644 index 000000000000..c969a29da334 --- /dev/null +++ b/games/criticalmass/files/patch-HashString.hpp @@ -0,0 +1,20 @@ +--- utils/HashString.hpp.orig Mon Aug 16 15:01:21 2004 ++++ utils/HashString.hpp Mon Aug 16 15:02:23 2004 +@@ -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 diff --git a/games/criticalmass/files/patch-Input.hpp b/games/criticalmass/files/patch-Input.hpp new file mode 100644 index 000000000000..f2e01fc86312 --- /dev/null +++ b/games/criticalmass/files/patch-Input.hpp @@ -0,0 +1,11 @@ +--- game/Input.hpp.orig Mon Aug 16 15:03:38 2004 ++++ game/Input.hpp Mon Aug 16 15:04:07 2004 +@@ -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 |