projects
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove hash_functor_selector.h, use only std::hash
[libcds.git]
/
tests
/
unit
/
set2
/
set_delodd.cpp
diff --git
a/tests/unit/set2/set_delodd.cpp
b/tests/unit/set2/set_delodd.cpp
index d5dab928fe38cd314bc9d4c949020971c40d8b99..d2604c8033d6328e791ee53d1676fe191d056640 100644
(file)
--- a/
tests/unit/set2/set_delodd.cpp
+++ b/
tests/unit/set2/set_delodd.cpp
@@
-83,30
+83,30
@@
namespace std {
return false;
}
};
return false;
}
};
-} // namespace std
-CDS_BEGIN_STD_HASH_NAMESPACE
template <>
struct hash<set2::key_thread>
{
typedef size_t result_type;
typedef set2::key_thread argument_type;
template <>
struct hash<set2::key_thread>
{
typedef size_t result_type;
typedef set2::key_thread argument_type;
- size_t operator()(
set2::key_thread const& k
) const
+ size_t operator()(
set2::key_thread const& k
) const
{
{
- return
CDS_STD_HASH_NAMESPACE::hash<size_t>()( k.nKey
);
+ return
std::hash<size_t>()(k.nKey
);
}
}
- size_t operator()(
size_t k
) const
+ size_t operator()(
size_t k
) const
{
{
- return
CDS_STD_HASH_NAMESPACE::hash<size_t>()( k
);
+ return
std::hash<size_t>()(k
);
}
};
}
};
-CDS_END_STD_HASH_NAMESPACE
+} // namespace std
+
+/*
namespace boost {
inline size_t hash_value( set2::key_thread const& k )
{
namespace boost {
inline size_t hash_value( set2::key_thread const& k )
{
- return
CDS_STD_HASH_NAMESPACE
::hash<size_t>()( k.nKey );
+ return
std
::hash<size_t>()( k.nKey );
}
template <>
}
template <>
@@
-125,7
+125,7
@@
namespace boost {
}
};
} // namespace boost
}
};
} // namespace boost
-
+*/
namespace set2 {
namespace set2 {