diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-08-17 14:22:36 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-08-17 14:22:36 +0000 |
commit | 25821e3abc939b7f13c9554f967341d817ce67d6 (patch) | |
tree | 93c9fa449c1d54b70c4e1358caee5cfde0c55772 /games | |
parent | c9bf27ccc9167b423ea2d0fab4cc867e7b0073ee (diff) | |
download | ports-25821e3abc939b7f13c9554f967341d817ce67d6.tar.gz ports-25821e3abc939b7f13c9554f967341d817ce67d6.zip |
Add template <> to explicit specialization to fix build.
Notes
Notes:
svn path=/head/; revision=116527
Diffstat (limited to 'games')
-rw-r--r-- | games/shaaft/files/patch-HashString.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/games/shaaft/files/patch-HashString.h b/games/shaaft/files/patch-HashString.h new file mode 100644 index 000000000000..532ace0118a4 --- /dev/null +++ b/games/shaaft/files/patch-HashString.h @@ -0,0 +1,20 @@ +--- utils/HashString.hpp.orig Tue Aug 17 16:17:33 2004 ++++ utils/HashString.hpp Tue Aug 17 16:18:12 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 |