diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-06-14 08:28:32 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-06-14 08:32:51 +0200 |
commit | 271c4e2fe53c6fe159789db27507804133e72814 (patch) | |
tree | 66d7ad60e6556b3a8569f8c51c7dfe583df81d5f /sal/inc | |
parent | 508291bab3c4bdc1d6aa43f1a0b1388ba19bd129 (diff) |
Revert MSVC ABI incompatible URE change (public -> protected)
...the mangled names of the corresponding symbols change with MSVC if you change
a member from public to protected. This had been changed with
6e67c03dc0225fc66343546b14e902b9d238b1a3 "Enable -Wnon-virtual-dtor for GCC 4.6"
but should only be necessary for GCC, not for MSVC, so can simply be reverted
under _MSC_VER.
Change-Id: Id22aadaff3d7f30ed824f39fe22eab7ca39bd408
Diffstat (limited to 'sal/inc')
-rw-r--r-- | sal/inc/rtl/ref.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/inc/rtl/ref.hxx b/sal/inc/rtl/ref.hxx index 19c77a5f5998..f8d2a1f787a4 100644 --- a/sal/inc/rtl/ref.hxx +++ b/sal/inc/rtl/ref.hxx @@ -49,7 +49,9 @@ public: */ virtual oslInterlockedCount SAL_CALL release() = 0; +#if !defined _MSC_VER // public -> protected changes mangled names there protected: +#endif ~IReference() {} // avoid warnings about virtual members and non-virtual dtor }; |