From fe7671f144ae6cdcdbeb26ec0b3048744bcc6002 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 11 Nov 2016 20:43:04 +0000 Subject: Revert "coverity#1371239 Missing move assignment operator" This reverts commit 8909cbeb315e257fbe06dad6caee5db18879b916. --- connectivity/source/inc/file/fcode.hxx | 9 --------- 1 file changed, 9 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/inc/file/fcode.hxx b/connectivity/source/inc/file/fcode.hxx index e18bebfb36ad..c3465695fdb1 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 ); } -- cgit