summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-20 11:03:52 +0200
committerNoel Grandin <noel@peralex.com>2015-11-20 11:48:48 +0200
commit6f5c6cf4902c3a4a49567e95ff26260632a8f4e9 (patch)
tree579a5d6994d24e0e65fdbac04bce2b54308c9b9e /include/tools
parentf411ef1b8065d3ae03d1a820812e64b250de0932 (diff)
mark WeakReference with SAL_WARN_UNUSED
Change-Id: I9d56cdecba8066058a0c6f128720534fcf6f6e34
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/weakbase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/weakbase.h b/include/tools/weakbase.h
index 366358f9f787..cd1ab642c128 100644
--- a/include/tools/weakbase.h
+++ b/include/tools/weakbase.h
@@ -68,7 +68,7 @@ struct WeakConnection
/** template implementation to hold a weak reference to an instance of type reference_type */
template <class reference_type>
-class WeakReference
+class SAL_WARN_UNUSED WeakReference
{
public:
/** constructs an empty reference */