Fix build with gcc 3.4
This commit is contained in:
parent
cbdfc6e135
commit
f5da8821f2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116402
20
games/criticalmass/files/patch-HashString.hpp
Normal file
20
games/criticalmass/files/patch-HashString.hpp
Normal file
@ -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
|
11
games/criticalmass/files/patch-Input.hpp
Normal file
11
games/criticalmass/files/patch-Input.hpp
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user