diff options
Diffstat (limited to 'include/cppuhelper/implbase12.hxx')
-rw-r--r-- | include/cppuhelper/implbase12.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/cppuhelper/implbase12.hxx b/include/cppuhelper/implbase12.hxx index 6ba5168bc5d4..b3d02e44160a 100644 --- a/include/cppuhelper/implbase12.hxx +++ b/include/cppuhelper/implbase12.hxx @@ -90,8 +90,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 ~ImplHelper12() 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 |