summaryrefslogtreecommitdiff
path: root/include/cppuhelper/implbase7.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-04 08:49:44 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-04 08:49:44 +0100
commit4b5efd930895c87829f1fc404bfc5de8f139f873 (patch)
tree3d59ef41d40bd937ce2668fda2b81bee3f381b90 /include/cppuhelper/implbase7.hxx
parent505473154bd2e717d21b1a7ff1fce322403049df (diff)
Silence -Werror,-Wnon-virtual-dtor (clang-cl)
Change-Id: Icac0f029461c886ebb03aedcd54189116b66d8a3
Diffstat (limited to 'include/cppuhelper/implbase7.hxx')
-rw-r--r--include/cppuhelper/implbase7.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/cppuhelper/implbase7.hxx b/include/cppuhelper/implbase7.hxx
index e0b5f7bafb99..f83bc6612069 100644
--- a/include/cppuhelper/implbase7.hxx
+++ b/include/cppuhelper/implbase7.hxx
@@ -85,8 +85,14 @@ namespace cppu
#if !defined _MSC_VER // public -> protected changes mangled names there
protected:
+#elif defined __clang__
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
~ImplHelper7() throw () {}
+#if defined _MSC_VER && defined __clang__
+#pragma clang diagnostic pop
+#endif
};
/** Implementation helper implementing interfaces css::lang::XTypeProvider and
css::uno::XInterface which supports weak mechanism to be held weakly