Make ~OCode an anchor again for vtable and RTTI emission

...had been lost with dd5fa4cea7b0c6912754e6887a678a050d4a7610 "declare default
dtor as virtual"

Change-Id: I30acd02c293a5ecc99f5bf4f6b1f6358ae392e93
This commit is contained in:
Stephan Bergmann 2016-11-14 15:29:12 +01:00
parent ea95ced269
commit 1e70553585
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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;