summaryrefslogtreecommitdiff
path: root/include/cppuhelper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-24 10:56:03 +0200
committerNoel Grandin <noel@peralex.com>2015-11-24 11:04:33 +0200
commitc18c50cda347e239ed48f2e390f3f6a65533a3b0 (patch)
tree1b3343e02ef0e2b55471a029b83b27fb16567ebc /include/cppuhelper
parent4bd8ffd27f17ec4915790a260087ef1890169911 (diff)
add SAL_WARN_UNUSED to css::uno::WeakReference and SvCompatWeakRef
Change-Id: Idb784d398ed22f2291f1beaffb82f68642d68bcd
Diffstat (limited to 'include/cppuhelper')
-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.