diff --git a/include/boost/unordered/detail/allocator_helpers.hpp b/include/boost/unordered/detail/allocator_helpers.hpp index 8cc4f5f9..07fbba72 100644 --- a/include/boost/unordered/detail/allocator_helpers.hpp +++ b/include/boost/unordered/detail/allocator_helpers.hpp @@ -239,7 +239,7 @@ namespace boost { namespace unordered { namespace detail { if (ptr_) { for(pointer p = ptr_; p != constructed_; ++p) allocator_traits::destroy(alloc_, - boost::addressof(*p)); + boost::addressof(*p)); allocator_traits::deallocate(alloc_, ptr_, length_); } @@ -254,7 +254,7 @@ namespace boost { namespace unordered { namespace detail { pointer end = ptr_ + static_cast(length_); for(constructed_ = ptr_; constructed_ != end; ++constructed_) allocator_traits::construct(alloc_, - boost::addressof(*constructed_), v); + boost::addressof(*constructed_), v); } pointer get() const