forked from boostorg/unordered
Replace all usages of boost::addressof with their std counterpart
This commit is contained in:
1 parent
f1729bb8a1
commit
7aac692162
7 files changed
+24
-24
No files matched your search
@@ -451,14 +451,14 @@ namespace rehash_tests {
|
||||
|
||||
typedef typename X::iterator iterator;
|
||||
for (iterator pos = x.begin(); pos != x.end(); ++pos) {
|
||||
elements.insert(boost::addressof(*pos));
|
||||
elements.insert(std::addressof(*pos));
|
||||
}
|
||||
|
||||
x.rehash(2 * x.bucket_count());
|
||||
|
||||
for (iterator pos = x.begin(); pos != x.end(); ++pos) {
|
||||
if (!BOOST_TEST(
|
||||
elements.find(boost::addressof(*pos)) != elements.end())) {
|
||||
elements.find(std::addressof(*pos)) != elements.end())) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user