mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Introducing allocator_traits and pointer_traits changes into several libraries.
[SVN r76107]
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// (C) Copyright Ion Gaztanaga 2004-2009. Distributed under the Boost
|
||||
// (C) Copyright Ion Gaztanaga 2004-2011. Distributed under the Boost
|
||||
// Software License, Version 1.0. (See accompanying file
|
||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
@@ -70,9 +70,9 @@ int main ()
|
||||
std::memset(shm1.get_user_address(), 0, shm1.get_user_size());
|
||||
|
||||
//Now test move semantics
|
||||
shared_memory move_ctor(boost::interprocess::move(shm1));
|
||||
shared_memory move_ctor(boost::move(shm1));
|
||||
shared_memory move_assign;
|
||||
move_assign = boost::interprocess::move(move_ctor);
|
||||
move_assign = boost::move(move_ctor);
|
||||
}
|
||||
}
|
||||
catch(std::exception &ex){
|
||||
|
||||
Reference in New Issue
Block a user