diff options
Diffstat (limited to 'store/source/lockbyte.cxx')
-rw-r--r-- | store/source/lockbyte.cxx | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/store/source/lockbyte.cxx b/store/source/lockbyte.cxx index beb21b1be937..0bb42b552096 100644 --- a/store/source/lockbyte.cxx +++ b/store/source/lockbyte.cxx @@ -19,7 +19,6 @@ #include "lockbyte.hxx" -#include "boost/noncopyable.hpp" #include "sal/types.h" #include "osl/diagnose.h" #include "osl/file.h" @@ -278,8 +277,7 @@ struct FileHandle class FileLockBytes : public store::OStoreObject, - public store::ILockBytes, - private boost::noncopyable + public store::ILockBytes { /** Representation. */ @@ -309,6 +307,9 @@ public: */ explicit FileLockBytes (FileHandle & rFile); + FileLockBytes(const FileLockBytes&) = delete; + FileLockBytes& operator=(const FileLockBytes&) = delete; + protected: /** Destruction. */ @@ -500,8 +501,7 @@ struct FileMapping class MappedLockBytes : public store::OStoreObject, public store::PageData::Allocator, - public store::ILockBytes, - private boost::noncopyable + public store::ILockBytes { /** Representation. */ @@ -535,6 +535,9 @@ public: */ explicit MappedLockBytes (FileMapping & rMapping); + MappedLockBytes(const MappedLockBytes&) = delete; + MappedLockBytes& operator=(const MappedLockBytes&) = delete; + protected: /* Destruction. */ @@ -642,8 +645,7 @@ namespace store class MemoryLockBytes : public store::OStoreObject, - public store::ILockBytes, - private boost::noncopyable + public store::ILockBytes { /** Representation. */ @@ -671,6 +673,9 @@ public: */ MemoryLockBytes(); + MemoryLockBytes(const MemoryLockBytes&) = delete; + MemoryLockBytes& operator=(const MemoryLockBytes&) = delete; + protected: /** Destruction. */ |