Kaydet (Commit) 74da5c29 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

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: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 6a5a69bd
......@@ -72,12 +72,6 @@ namespace comphelper
{
}
EventLogger::~EventLogger()
{
}
bool EventLogger::isLoggable( const sal_Int32 _nLogLevel ) const
{
if ( !m_pImpl->isValid() )
......
......@@ -108,8 +108,6 @@ namespace comphelper
const sal_Char* _pAsciiLoggerName
);
~EventLogger();
public:
/// determines whether an event with the given level would be logged
bool isLoggable( const sal_Int32 _nLogLevel ) const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment