summaryrefslogtreecommitdiff
path: root/libs/interprocess/test/user_buffer_test.cpp
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-04-08 03:09:47 +0000
committer <>2015-05-05 14:37:32 +0000
commitf2541bb90af059680aa7036f315f052175999355 (patch)
treea5b214744b256f07e1dc2bd7273035a7808c659f /libs/interprocess/test/user_buffer_test.cpp
parented232fdd34968697a68783b3195b1da4226915b5 (diff)
downloadboost-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/user_buffer_test.cpp')
-rw-r--r--libs/interprocess/test/user_buffer_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/interprocess/test/user_buffer_test.cpp b/libs/interprocess/test/user_buffer_test.cpp
index 9299d0b8f..8adfcc9c5 100644
--- a/libs/interprocess/test/user_buffer_test.cpp
+++ b/libs/interprocess/test/user_buffer_test.cpp
@@ -18,8 +18,8 @@
#include <boost/interprocess/managed_heap_memory.hpp>
#include <boost/interprocess/containers/list.hpp>
#include <boost/interprocess/detail/type_traits.hpp>
+#include <boost/move/detail/type_traits.hpp>
#include <boost/interprocess/allocators/node_allocator.hpp>
-#include <boost/type_traits/type_with_alignment.hpp>
#include "print_container.hpp"
/******************************************************************************/
@@ -53,9 +53,9 @@ bool CheckEqual(MyUserList *userlist, MyStdList *stdlist, MyHeapList *heaplist)
int main ()
{
//Create the user memory who will store all objects
- const int size_aligner = sizeof(::boost::detail::max_align);
+ const int size_aligner = sizeof(::boost::container::container_detail::max_align_t);
const int memsize = 65536/size_aligner*size_aligner;
- static ::boost::detail::max_align static_buffer[memsize/size_aligner];
+ static ::boost::container::container_detail::max_align_t static_buffer[memsize/size_aligner];
{
//Now test move semantics