summaryrefslogtreecommitdiff
path: root/include/cppuhelper/weakref.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/cppuhelper/weakref.hxx')
-rw-r--r--include/cppuhelper/weakref.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cppuhelper/weakref.hxx b/include/cppuhelper/weakref.hxx
index 8494ddd189cb..458bd9306706 100644
--- a/include/cppuhelper/weakref.hxx
+++ b/include/cppuhelper/weakref.hxx
@@ -119,7 +119,7 @@ protected:
@tparam interface_type type of interface
*/
template< class interface_type >
-class WeakReference : public WeakReferenceHelper
+class SAL_WARN_UNUSED WeakReference : public WeakReferenceHelper
{
public:
/** Default ctor. Creates an empty weak reference.