due to namesapce resolution std namespace was used instead, which hashes the string pointers leading to mayhem
struct StringHashFunction {
size_t operator()(const std::string& str) const {
struct StringHashFunction {
size_t operator()(const std::string& str) const {
- return std::hash<const char*>()(str.c_str());
+ return __gnu_cxx::hash<const char*>()(str.c_str());
}
};/* struct StringHashFunction */
}
};/* struct StringHashFunction */