summaryrefslogtreecommitdiff
path: root/include/hashcomp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r--include/hashcomp.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index dc8c1ec81..36e5dd0c3 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -40,19 +40,12 @@ using namespace std;
namespace nspace
{
-#ifdef GCC34
template<> struct hash<in_addr>
-#else
- template<> struct nspace::hash<in_addr>
-#endif
{
size_t operator()(const struct in_addr &a) const;
};
-#ifdef GCC34
- template<> struct hash<string>
-#else
- template<> struct nspace::hash<string>
-#endif
+
+ template<> struct hash<std::string>
{
size_t operator()(const string &s) const;
};