summaryrefslogtreecommitdiff
path: root/sal/inc/rtl/ref.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/inc/rtl/ref.hxx')
-rw-r--r--sal/inc/rtl/ref.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/inc/rtl/ref.hxx b/sal/inc/rtl/ref.hxx
index 83bfc60b41eb..19c77a5f5998 100644
--- a/sal/inc/rtl/ref.hxx
+++ b/sal/inc/rtl/ref.hxx
@@ -48,6 +48,10 @@ public:
/** @see osl_decrementInterlockedCount.
*/
virtual oslInterlockedCount SAL_CALL release() = 0;
+
+protected:
+ ~IReference() {}
+ // avoid warnings about virtual members and non-virtual dtor
};