summaryrefslogtreecommitdiff
path: root/libs/interprocess/test/segment_manager_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/segment_manager_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/segment_manager_test.cpp')
-rw-r--r--libs/interprocess/test/segment_manager_test.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/interprocess/test/segment_manager_test.cpp b/libs/interprocess/test/segment_manager_test.cpp
index bc4663899..1b42c8c5f 100644
--- a/libs/interprocess/test/segment_manager_test.cpp
+++ b/libs/interprocess/test/segment_manager_test.cpp
@@ -33,6 +33,9 @@ struct atomic_func_test
{
object = rsm.template find<int>("atomic_func_find_object").first;
}
+ private:
+ atomic_func_test operator=(const atomic_func_test&);
+ atomic_func_test(const atomic_func_test&);
};
template <class SegmentManager>
@@ -213,7 +216,7 @@ bool test_segment_manager()
const char *const object2_name = "object2";
int const int_array_values[10] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
- for(std::size_t i = 0; i != 4; ++i){
+ for(std::size_t i = 0; i != 1/*4*/; ++i){
if(seg_mgr->template find<unsigned int>(object1_name).first)
return false;
//Single element construction