summaryrefslogtreecommitdiff
path: root/include/tools/link.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-18 12:00:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-18 12:00:15 +0200
commit0d5ff972fb51d11f01e8062e73a24dd4bab60417 (patch)
treeee89de6a075ee88e2af63963396168fab6b9b504 /include/tools/link.hxx
parent968e6b5e66da73d6cd1f07d46db015d1f339c509 (diff)
SAL_WARN_UNUSED Link
Change-Id: I646677611e46a7e33e977a5afeea9bf831b28733
Diffstat (limited to 'include/tools/link.hxx')
-rw-r--r--include/tools/link.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/tools/link.hxx b/include/tools/link.hxx
index a48c3b86d68e..fa86e5db3a38 100644
--- a/include/tools/link.hxx
+++ b/include/tools/link.hxx
@@ -113,7 +113,8 @@
#define LINK(Instance, Class, Member) ::tools::detail::makeLink( \
static_cast<Class *>(Instance), &Class::LinkStub##Member)
-template<typename Arg = void *, typename Ret = sal_IntPtr> class Link {
+template<typename Arg = void *, typename Ret = sal_IntPtr>
+class SAL_WARN_UNUSED Link {
public:
typedef Ret Stub(void *, Arg);