Replace all usages of boost::addressof with their std counterpart

This commit is contained in:
Christian Mazakas
2023-09-27 13:03:15 -07:00
parent f1729bb8a1
commit 7aac692162
7 changed files with 24 additions and 24 deletions
+2 -2
View File
@@ -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;
}
}