Remove .gitignore do nothing is ignored.
[synfig.git] / synfig-core / trunk / src / synfig / guid.cpp
index d9c268b..e537ba6 100644 (file)
@@ -6,7 +6,7 @@
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
-**     Copyright (c) 2007 Chris Moore
+**     Copyright (c) 2007, 2008 Chris Moore
 **
 **     This package is free software; you can redistribute it and/or
 **     modify it under the terms of the GNU General Public License as
@@ -158,7 +158,7 @@ synfig::GUID::hasher(const String& str)
         * accept Strings, so we're left with this conditional compilation.
         */
 # ifdef FUNCTIONAL_HASH_ON_STRING
-       HASH_MAP_NAMESPACE::hash<const String&> string_hash_;
+       HASH_MAP_NAMESPACE::hash<String> string_hash_;
        const unsigned int seed(string_hash_(str));
 # else  // FUNCTIONAL_HASH_ON_STRING
        HASH_MAP_NAMESPACE::hash<const char*> string_hash_;