diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-04 08:49:44 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-04 08:49:44 +0100 |
commit | 4b5efd930895c87829f1fc404bfc5de8f139f873 (patch) | |
tree | 3d59ef41d40bd937ce2668fda2b81bee3f381b90 /include/cppuhelper/implbase13.hxx | |
parent | 505473154bd2e717d21b1a7ff1fce322403049df (diff) |
Silence -Werror,-Wnon-virtual-dtor (clang-cl)
Change-Id: Icac0f029461c886ebb03aedcd54189116b66d8a3
Diffstat (limited to 'include/cppuhelper/implbase13.hxx')
-rw-r--r-- | include/cppuhelper/implbase13.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/cppuhelper/implbase13.hxx b/include/cppuhelper/implbase13.hxx index da99200746f9..aa0892946677 100644 --- a/include/cppuhelper/implbase13.hxx +++ b/include/cppuhelper/implbase13.hxx @@ -91,8 +91,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 ~ImplHelper13() 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 |