From: khizmax Date: Fri, 26 Sep 2014 04:29:20 +0000 (+0400) Subject: Restore hashing in tests X-Git-Tag: v2.0.0~286 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=commitdiff_plain;h=b2654121136d9870da280532e1414be44ae79110 Restore hashing in tests --- diff --git a/tests/unit/map2/map_delodd.cpp b/tests/unit/map2/map_delodd.cpp index a63abd32..382a63e0 100644 --- a/tests/unit/map2/map_delodd.cpp +++ b/tests/unit/map2/map_delodd.cpp @@ -101,8 +101,11 @@ namespace std { }; } // namespace std -/* namespace boost { + inline size_t hash_value( map2::key_thread const& k ) + { + return std::hash()( k.nKey ); + } template <> struct hash { @@ -119,7 +122,6 @@ namespace boost { } }; } // namespace boost -*/ namespace map2 { diff --git a/tests/unit/set2/set_delodd.cpp b/tests/unit/set2/set_delodd.cpp index d2604c80..29782a66 100644 --- a/tests/unit/set2/set_delodd.cpp +++ b/tests/unit/set2/set_delodd.cpp @@ -102,7 +102,6 @@ namespace std { } // namespace std -/* namespace boost { inline size_t hash_value( set2::key_thread const& k ) { @@ -125,7 +124,6 @@ namespace boost { } }; } // namespace boost -*/ namespace set2 {