From b2654121136d9870da280532e1414be44ae79110 Mon Sep 17 00:00:00 2001 From: khizmax Date: Fri, 26 Sep 2014 08:29:20 +0400 Subject: [PATCH] Restore hashing in tests --- tests/unit/map2/map_delodd.cpp | 6 ++++-- tests/unit/set2/set_delodd.cpp | 2 -- 2 files changed, 4 insertions(+), 4 deletions(-) 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 { -- 2.34.1