From 7833a8359dab598368cea09dbd425faedc4d08e8 Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Wed, 26 Apr 2023 13:58:20 -0700 Subject: [PATCH] Use Core's allocator access to handle allocator_traits not having uniform support in early C++11 compilers --- include/boost/unordered/concurrent_flat_map.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/unordered/concurrent_flat_map.hpp b/include/boost/unordered/concurrent_flat_map.hpp index 7f38d261..98dc2bd5 100644 --- a/include/boost/unordered/concurrent_flat_map.hpp +++ b/include/boost/unordered/concurrent_flat_map.hpp @@ -259,9 +259,9 @@ namespace boost { } concurrent_flat_map& operator=(concurrent_flat_map&& rhs) - noexcept(std::allocator_traits::is_always_equal::value || - std::allocator_traits< - Allocator>::propagate_on_container_move_assignment::value) + noexcept(boost::allocator_is_always_equal::type::value || + boost::allocator_propagate_on_container_move_assignment< + Allocator>::type::value) { table_ = std::move(rhs.table_); return *this;