You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-puzzle/shaaft/files/shaaft-0.5.0-gcc34.patch

20 lines
544 B

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