[Libreoffice-commits] core.git: connectivity/source
Caolán McNamara
caolanm at redhat.com
Fri Nov 11 20:44:49 UTC 2016
connectivity/source/inc/file/fcode.hxx | 9 ---------
1 file changed, 9 deletions(-)
New commits:
commit fe7671f144ae6cdcdbeb26ec0b3048744bcc6002
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Nov 11 20:43:04 2016 +0000
Revert "coverity#1371239 Missing move assignment operator"
This reverts commit 8909cbeb315e257fbe06dad6caee5db18879b916.
diff --git a/connectivity/source/inc/file/fcode.hxx b/connectivity/source/inc/file/fcode.hxx
index e18bebf..c346569 100644
--- a/connectivity/source/inc/file/fcode.hxx
+++ b/connectivity/source/inc/file/fcode.hxx
@@ -44,16 +44,7 @@ namespace connectivity
class OOO_DLLPUBLIC_FILE OCode
{
public:
- //virtual dtor to allow this to be the root of the class hierarchy
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 )
{ return ::rtl_allocateMemory( nSize ); }
More information about the Libreoffice-commits
mailing list