From 74da5c2914876cb2b1d4cc0e898d6bab0c99fb98 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 26 Jul 2018 11:47:03 +0200 Subject: comphelper: avoid -Werror=deprecated-copy (GCC trunk towards GCC 9) ...by removing explicitly user-provided functions that do the same as their implicitly-defined counterparts, but may prevent implicitly declared copy functions from being defined as non-deleted in the future. (Even if a dtor was declared non-inline in an include file, the apparently-used implicitly-defined copy functions are already inline, so why bother with a non-inline dtor.) Change-Id: Id5494686dd169b17de7830588e603d1fd5f6b768 Reviewed-on: https://gerrit.libreoffice.org/58061 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- comphelper/source/misc/logging.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'comphelper') diff --git a/comphelper/source/misc/logging.cxx b/comphelper/source/misc/logging.cxx index c6863539a116..5b6c6bc6fda2 100644 --- a/comphelper/source/misc/logging.cxx +++ b/comphelper/source/misc/logging.cxx @@ -72,12 +72,6 @@ namespace comphelper { } - - EventLogger::~EventLogger() - { - } - - bool EventLogger::isLoggable( const sal_Int32 _nLogLevel ) const { if ( !m_pImpl->isValid() ) -- cgit v1.2.3