mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-23 17:42:46 +00:00
Merge from trunk
[SVN r80689]
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// (C) Copyright Ion Gaztanaga 2007. Distributed under the Boost
|
||||
// (C) Copyright Ion Gaztanaga 2007-2012. 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)
|
||||
//
|
||||
@@ -48,7 +48,7 @@ bool test_types_and_convertions()
|
||||
pcint_t pcint(0);
|
||||
pvint_t pvint(0);
|
||||
pcvint_t pcvint(0);
|
||||
|
||||
|
||||
pint = &dummy_int;
|
||||
pcint = &dummy_int;
|
||||
pvint = &dummy_int;
|
||||
@@ -75,7 +75,7 @@ bool test_arithmetic()
|
||||
typedef intersegment_ptr<int> pint_t;
|
||||
const int NumValues = 5;
|
||||
int values[NumValues];
|
||||
|
||||
|
||||
//Initialize p
|
||||
pint_t p = values;
|
||||
if(p.get() != values)
|
||||
@@ -376,7 +376,7 @@ bool test_multi_segment_shared_memory()
|
||||
shared_memory_object::remove("kk0");
|
||||
managed_multi_shared_memory mshm(create_only, "kk", 4096);
|
||||
}
|
||||
|
||||
|
||||
shared_memory_object::remove("kk0");
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user