diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-16 14:41:45 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-16 14:41:45 +0200 |
commit | a1b1b79adb9f93a1bb503862675bc42814900ac9 (patch) | |
tree | eece42676275e0b6d695a12174560abb867dec91 /include/cppuhelper | |
parent | Help openldap configure along when CC contains -fsanitize=address on Linux (diff) | |
download | core-a1b1b79adb9f93a1bb503862675bc42814900ac9.tar.gz core-a1b1b79adb9f93a1bb503862675bc42814900ac9.zip |
For GCC 4.9, extend range where -Wnon-virtual-dtor is ignored
Change-Id: Ib44f5b2f6be7ae583d8931fc8bf5cb060ef21610
Diffstat (limited to 'include/cppuhelper')
-rw-r--r-- | include/cppuhelper/propertysetmixin.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/cppuhelper/propertysetmixin.hxx b/include/cppuhelper/propertysetmixin.hxx index 88d460ba7058..0a88945727b0 100644 --- a/include/cppuhelper/propertysetmixin.hxx +++ b/include/cppuhelper/propertysetmixin.hxx @@ -403,10 +403,6 @@ private: void checkUnknown(rtl::OUString const & propertyName); }; -#if HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY && HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE \ - && !defined __clang__ -#pragma GCC diagnostic pop -#endif /** @short A helper mixin to implement certain UNO interfaces related to property @@ -482,6 +478,10 @@ private: PropertySetMixin( const PropertySetMixin&); // not defined void operator=( const PropertySetMixin&); // not defined }; +#if HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY && HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE \ + && !defined __clang__ +#pragma GCC diagnostic pop +#endif #if defined _MSC_VER #pragma warning(pop) |