remove left-over boost::noncopyable and replace by c++11 ctor deletes.
This commit is contained in:
parent
c66c9b0353
commit
d7e25772b0
@ -196,12 +196,14 @@ class SharedMemory
|
|||||||
};
|
};
|
||||||
#else
|
#else
|
||||||
// Windows - specific code
|
// Windows - specific code
|
||||||
class SharedMemory : boost::noncopyable
|
class SharedMemory
|
||||||
{
|
{
|
||||||
|
SharedMemory(const SharedMemory&) = delete;
|
||||||
// Remove shared memory on destruction
|
// Remove shared memory on destruction
|
||||||
class shm_remove : boost::noncopyable
|
class shm_remove
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
shm_remove(const shm_remove&) = delete;
|
||||||
char *m_shmid;
|
char *m_shmid;
|
||||||
bool m_initialized;
|
bool m_initialized;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user