From d7e25772b0735b6e70e9c38b1a0f7257271d3bf5 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Mon, 20 Oct 2014 10:20:58 +0200 Subject: [PATCH] remove left-over boost::noncopyable and replace by c++11 ctor deletes. --- DataStructures/SharedMemoryFactory.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/DataStructures/SharedMemoryFactory.h b/DataStructures/SharedMemoryFactory.h index ab5b8c9f9..0b1f0e1c5 100644 --- a/DataStructures/SharedMemoryFactory.h +++ b/DataStructures/SharedMemoryFactory.h @@ -196,12 +196,14 @@ class SharedMemory }; #else // Windows - specific code -class SharedMemory : boost::noncopyable +class SharedMemory { + SharedMemory(const SharedMemory&) = delete; // Remove shared memory on destruction - class shm_remove : boost::noncopyable + class shm_remove { private: + shm_remove(const shm_remove&) = delete; char *m_shmid; bool m_initialized;