Kaydet (Commit) b323e635 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Clean up unreferenced functions

Change-Id: I1dbb864d030b61417f6d137fc967f158e9243ed7
üst 104096f1
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include "lockbyte.hxx" #include "lockbyte.hxx"
#include "boost/noncopyable.hpp"
#include "sal/types.h" #include "sal/types.h"
#include "osl/diagnose.h" #include "osl/diagnose.h"
#include "osl/file.h" #include "osl/file.h"
...@@ -276,7 +277,8 @@ struct FileHandle ...@@ -276,7 +277,8 @@ struct FileHandle
class FileLockBytes : class FileLockBytes :
public store::OStoreObject, public store::OStoreObject,
public store::ILockBytes public store::ILockBytes,
private boost::noncopyable
{ {
/** Representation. /** Representation.
*/ */
...@@ -301,11 +303,6 @@ class FileLockBytes : ...@@ -301,11 +303,6 @@ class FileLockBytes :
virtual storeError flush_Impl() SAL_OVERRIDE; virtual storeError flush_Impl() SAL_OVERRIDE;
/** Not implemented.
*/
FileLockBytes (FileLockBytes const &);
FileLockBytes & operator= (FileLockBytes const &);
public: public:
/** Construction. /** Construction.
*/ */
...@@ -516,7 +513,8 @@ struct FileMapping ...@@ -516,7 +513,8 @@ struct FileMapping
class MappedLockBytes : class MappedLockBytes :
public store::OStoreObject, public store::OStoreObject,
public store::PageData::Allocator, public store::PageData::Allocator,
public store::ILockBytes public store::ILockBytes,
private boost::noncopyable
{ {
/** Representation. /** Representation.
*/ */
...@@ -545,11 +543,6 @@ class MappedLockBytes : ...@@ -545,11 +543,6 @@ class MappedLockBytes :
virtual storeError flush_Impl() SAL_OVERRIDE; virtual storeError flush_Impl() SAL_OVERRIDE;
/** Not implemented.
*/
MappedLockBytes (MappedLockBytes const &);
MappedLockBytes & operator= (MappedLockBytes const &);
public: public:
/** Construction. /** Construction.
*/ */
...@@ -674,7 +667,8 @@ namespace store ...@@ -674,7 +667,8 @@ namespace store
class MemoryLockBytes : class MemoryLockBytes :
public store::OStoreObject, public store::OStoreObject,
public store::ILockBytes public store::ILockBytes,
private boost::noncopyable
{ {
/** Representation. /** Representation.
*/ */
...@@ -697,11 +691,6 @@ class MemoryLockBytes : ...@@ -697,11 +691,6 @@ class MemoryLockBytes :
virtual storeError flush_Impl() SAL_OVERRIDE; virtual storeError flush_Impl() SAL_OVERRIDE;
/** Not implemented.
*/
MemoryLockBytes (MemoryLockBytes const &);
MemoryLockBytes& operator= (MemoryLockBytes const &);
public: public:
/** Construction. /** Construction.
*/ */
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include "storbase.hxx" #include "storbase.hxx"
#include "boost/noncopyable.hpp"
#include "sal/types.h" #include "sal/types.h"
#include "rtl/alloc.h" #include "rtl/alloc.h"
#include "rtl/ref.hxx" #include "rtl/ref.hxx"
...@@ -73,7 +74,8 @@ namespace store ...@@ -73,7 +74,8 @@ namespace store
class PageData::Allocator_Impl : class PageData::Allocator_Impl :
public store::OStoreObject, public store::OStoreObject,
public store::PageData::Allocator public store::PageData::Allocator,
private boost::noncopyable
{ {
public: public:
/** Construction (two phase). /** Construction (two phase).
...@@ -108,11 +110,6 @@ private: ...@@ -108,11 +110,6 @@ private:
*/ */
virtual void allocate_Impl (void ** ppPage, sal_uInt16 * pnSize) SAL_OVERRIDE; virtual void allocate_Impl (void ** ppPage, sal_uInt16 * pnSize) SAL_OVERRIDE;
virtual void deallocate_Impl (void * pPage) SAL_OVERRIDE; virtual void deallocate_Impl (void * pPage) SAL_OVERRIDE;
/** Not implemented.
*/
Allocator_Impl (Allocator_Impl const &);
Allocator_Impl & operator= (Allocator_Impl const &);
}; };
} // namespace store } // namespace store
......
...@@ -76,26 +76,6 @@ struct OStoreSuperBlock ...@@ -76,26 +76,6 @@ struct OStoreSuperBlock
m_aUnused (0) m_aUnused (0)
{} {}
OStoreSuperBlock (const OStoreSuperBlock & rhs)
: m_aGuard (rhs.m_aGuard),
m_aDescr (rhs.m_aDescr),
m_nMarked (rhs.m_nMarked),
m_aMarked (rhs.m_aMarked),
m_nUnused (rhs.m_nUnused),
m_aUnused (rhs.m_aUnused)
{}
OStoreSuperBlock& operator= (const OStoreSuperBlock & rhs)
{
m_aGuard = rhs.m_aGuard;
m_aDescr = rhs.m_aDescr;
m_nMarked = rhs.m_nMarked;
m_aMarked = rhs.m_aMarked;
m_nUnused = rhs.m_nUnused;
m_aUnused = rhs.m_aUnused;
return *this;
}
/** Comparison. /** Comparison.
*/ */
bool operator== (const OStoreSuperBlock & rhs) const bool operator== (const OStoreSuperBlock & rhs) const
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include "sal/config.h" #include "sal/config.h"
#include "boost/noncopyable.hpp"
#include "boost/static_assert.hpp" #include "boost/static_assert.hpp"
#include "storcach.hxx" #include "storcach.hxx"
...@@ -224,7 +225,8 @@ namespace store ...@@ -224,7 +225,8 @@ namespace store
class PageCache_Impl : class PageCache_Impl :
public store::OStoreObject, public store::OStoreObject,
public store::PageCache public store::PageCache,
private boost::noncopyable
{ {
// Representation // Representation
static size_t const theTableSize = 32; static size_t const theTableSize = 32;
...@@ -268,10 +270,6 @@ class PageCache_Impl : ...@@ -268,10 +270,6 @@ class PageCache_Impl :
virtual storeError removePageAt_Impl ( virtual storeError removePageAt_Impl (
sal_uInt32 nOffset) SAL_OVERRIDE; sal_uInt32 nOffset) SAL_OVERRIDE;
// Not implemented
PageCache_Impl (PageCache_Impl const &);
PageCache_Impl & operator= (PageCache_Impl const &);
public: public:
// Construction // Construction
explicit PageCache_Impl (sal_uInt16 nPageSize); explicit PageCache_Impl (sal_uInt16 nPageSize);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment