From 1e70553585af382c7da3f79a3edf29de56c2d6a1 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 14 Nov 2016 15:29:12 +0100 Subject: [PATCH] Make ~OCode an anchor again for vtable and RTTI emission ...had been lost with dd5fa4cea7b0c6912754e6887a678a050d4a7610 "declare default dtor as virtual" Change-Id: I30acd02c293a5ecc99f5bf4f6b1f6358ae392e93 --- connectivity/source/drivers/file/fcode.cxx | 2 ++ connectivity/source/inc/file/fcode.hxx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/connectivity/source/drivers/file/fcode.cxx b/connectivity/source/drivers/file/fcode.cxx index 3089359e858f..1a496de16479 100644 --- a/connectivity/source/drivers/file/fcode.cxx +++ b/connectivity/source/drivers/file/fcode.cxx @@ -32,6 +32,8 @@ using namespace connectivity::file; using namespace ::com::sun::star::sdbc; using namespace ::com::sun::star::sdb; +OCode::~OCode() = default; + OOperandRow::OOperandRow(sal_uInt16 _nPos, sal_Int32 _rType) : OOperand(_rType) , m_nRowPos(_nPos) diff --git a/connectivity/source/inc/file/fcode.hxx b/connectivity/source/inc/file/fcode.hxx index 930ac9b4a4fb..177e1ca32edd 100644 --- a/connectivity/source/inc/file/fcode.hxx +++ b/connectivity/source/inc/file/fcode.hxx @@ -45,7 +45,7 @@ namespace connectivity { public: //virtual dtor to allow this to be the root of the class hierarchy - virtual ~OCode() = default; + virtual ~OCode(); #if !defined _MSC_VER || _MSC_VER >= 1900 //but that disables the default move ctor OCode(OCode&&) = default;