diff options
author | thegeorg <[email protected]> | 2023-04-30 17:22:46 +0300 |
---|---|---|
committer | thegeorg <[email protected]> | 2023-04-30 17:22:46 +0300 |
commit | aafa1d52a0218b80ccff2120e4b52a8cdef58643 (patch) | |
tree | 86549ed61c69e8276cdecccb0c5933316381afe5 /contrib/restricted/boost/container/src | |
parent | 0f76e6d63e6c15b24f4127cd3e3196e67c79ff09 (diff) |
Update contrib/restricted/boost/container to 1.82.0
Diffstat (limited to 'contrib/restricted/boost/container/src')
-rw-r--r-- | contrib/restricted/boost/container/src/global_resource.cpp | 3 | ||||
-rw-r--r-- | contrib/restricted/boost/container/src/pool_resource.cpp | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/restricted/boost/container/src/global_resource.cpp b/contrib/restricted/boost/container/src/global_resource.cpp index b3fa7611caa..af273ae9ecf 100644 --- a/contrib/restricted/boost/container/src/global_resource.cpp +++ b/contrib/restricted/boost/container/src/global_resource.cpp @@ -11,7 +11,6 @@ #define BOOST_CONTAINER_SOURCE #include <boost/container/pmr/memory_resource.hpp> #include <boost/container/pmr/global_resource.hpp> -#include <boost/core/no_exceptions_support.hpp> #include <boost/container/throw_exception.hpp> #include <boost/container/detail/dlmalloc.hpp> //For global lock #include <boost/container/detail/singleton.hpp> @@ -128,7 +127,7 @@ namespace container { namespace pmr { std::atomic<memory_resource*>& default_memory_resource_instance() { - static std::atomic<memory_resource*> instance = new_delete_resource(); + static std::atomic<memory_resource*> instance(new_delete_resource()); return instance; } diff --git a/contrib/restricted/boost/container/src/pool_resource.cpp b/contrib/restricted/boost/container/src/pool_resource.cpp index 82105a4520c..631c9d8f4cd 100644 --- a/contrib/restricted/boost/container/src/pool_resource.cpp +++ b/contrib/restricted/boost/container/src/pool_resource.cpp @@ -20,6 +20,7 @@ #include <boost/container/detail/placement_new.hpp> #include <boost/intrusive/linear_slist_algorithms.hpp> #include <boost/intrusive/detail/math.hpp> +#include <boost/static_assert.hpp> #include <cstddef> |