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;