diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2015-04-08 03:09:47 +0000 |
---|---|---|
committer | <> | 2015-05-05 14:37:32 +0000 |
commit | f2541bb90af059680aa7036f315f052175999355 (patch) | |
tree | a5b214744b256f07e1dc2bd7273035a7808c659f /libs/interprocess/test/heap_allocator_v1.hpp | |
parent | ed232fdd34968697a68783b3195b1da4226915b5 (diff) | |
download | boost-tarball-master.tar.gz |
Imported from /home/lorry/working-area/delta_boost-tarball/boost_1_58_0.tar.bz2.HEADboost_1_58_0master
Diffstat (limited to 'libs/interprocess/test/heap_allocator_v1.hpp')
-rw-r--r-- | libs/interprocess/test/heap_allocator_v1.hpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libs/interprocess/test/heap_allocator_v1.hpp b/libs/interprocess/test/heap_allocator_v1.hpp index 58f604a98..2867f8da6 100644 --- a/libs/interprocess/test/heap_allocator_v1.hpp +++ b/libs/interprocess/test/heap_allocator_v1.hpp @@ -25,10 +25,7 @@ #include <boost/interprocess/detail/utilities.hpp> #include <boost/interprocess/containers/version_type.hpp> #include <boost/interprocess/exceptions.hpp> -#include <memory> -#include <algorithm> -#include <cstddef> -#include <stdexcept> +#include <boost/move/adl_move_swap.hpp> //!\file //!Describes an heap_allocator_v1 that allocates portions of fixed size @@ -141,7 +138,7 @@ class heap_allocator_v1 //!Swap segment manager. Does not throw. If each heap_allocator_v1 is placed in //!different memory segments, the result is undefined. friend void swap(self_t &alloc1, self_t &alloc2) - { ipcdetail::do_swap(alloc1.mp_mngr, alloc2.mp_mngr); } + { ::boost::adl_move_swap(alloc1.mp_mngr, alloc2.mp_mngr); } }; //!Equality test for same type of heap_allocator_v1 |