diff --git a/include/boost/unordered/detail/implementation.hpp b/include/boost/unordered/detail/implementation.hpp index 871ad5a7..a7a2d186 100644 --- a/include/boost/unordered/detail/implementation.hpp +++ b/include/boost/unordered/detail/implementation.hpp @@ -3499,7 +3499,7 @@ template struct node_algo { node_pointer n = next_node(prev); std::size_t hash = n->hash_; - while (true) { + for (;;) { node_pointer next = next_node(n); if (!next || next->hash_ != hash) { return n;