Revert "coverity#1371239 Missing move assignment operator"
This reverts commit 8909cbeb31
.
This commit is contained in:
@@ -44,16 +44,7 @@ namespace connectivity
|
|||||||
class OOO_DLLPUBLIC_FILE OCode
|
class OOO_DLLPUBLIC_FILE OCode
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
//virtual dtor to allow this to be the root of the class hierarchy
|
|
||||||
virtual ~OCode() = default;
|
virtual ~OCode() = default;
|
||||||
//but that disables the default move ctor
|
|
||||||
OCode(OCode&&) = default;
|
|
||||||
//but that disables the rest of default ctors
|
|
||||||
OCode(const OCode&) = default;
|
|
||||||
OCode() = default;
|
|
||||||
//and same issue for the assignment operators
|
|
||||||
OCode& operator=(const OCode&) = default;
|
|
||||||
OCode& operator=(OCode&&) = default;
|
|
||||||
|
|
||||||
inline static void * SAL_CALL operator new( size_t nSize )
|
inline static void * SAL_CALL operator new( size_t nSize )
|
||||||
{ return ::rtl_allocateMemory( nSize ); }
|
{ return ::rtl_allocateMemory( nSize ); }
|
||||||
|
Reference in New Issue
Block a user