diff --git a/include/boost/container/adaptive_pool.hpp b/include/boost/container/adaptive_pool.hpp index b9037b7..08e4f62 100644 --- a/include/boost/container/adaptive_pool.hpp +++ b/include/boost/container/adaptive_pool.hpp @@ -132,6 +132,10 @@ class adaptive_pool adaptive_pool(const adaptive_pool &) BOOST_NOEXCEPT_OR_NOTHROW {} + //!Copy assignment from other adaptive_pool. + adaptive_pool & operator=(const adaptive_pool &) BOOST_NOEXCEPT_OR_NOTHROW + { return *this; } + //!Copy constructor from related adaptive_pool. template adaptive_pool @@ -442,6 +446,10 @@ class private_adaptive_pool private_adaptive_pool(const private_adaptive_pool &) BOOST_NOEXCEPT_OR_NOTHROW {} + //!Copy assignment from other adaptive_pool. + private_adaptive_pool & operator=(const private_adaptive_pool &) BOOST_NOEXCEPT_OR_NOTHROW + { return *this; } + //!Copy constructor from related private_adaptive_pool. template private_adaptive_pool