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

ucb: 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 such a
user-provided function was declared non-inline in an include file, the
apparently-used implicitly-defined copy functions are already inline, so why
bother with non-inline functions.)

Change-Id: I6cd0ac297240ce868442ab7f8b4f1ba46c68d409
Reviewed-on: https://gerrit.libreoffice.org/58063
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst f5b7eb35
......@@ -147,10 +147,6 @@ void NeonUri::init( const OString & rUri, const ne_uri * pUri )
}
}
NeonUri::~NeonUri( )
{
}
void NeonUri::calculateURI ()
{
OUStringBuffer aBuf( mScheme );
......
......@@ -59,7 +59,6 @@ class NeonUri
explicit NeonUri( const OUString & inUri );
/// @throws DAVException
explicit NeonUri( const ne_uri * inUri );
~NeonUri( );
bool operator== ( const NeonUri & rOther ) const;
bool operator!= ( const NeonUri & rOther ) const
......
......@@ -29,17 +29,6 @@ namespace webdav_ucp
{
}
PropertyNames::PropertyNames( const PropertyNames& theOther ) :
m_nStaleTime( theOther.m_nStaleTime ),
m_sURL( theOther.m_sURL ),
m_aPropertiesNames( theOther.m_aPropertiesNames )
{
}
PropertyNames::~PropertyNames()
{
}
//PropertyNamesCache implementation
PropertyNamesCache::PropertyNamesCache()
......
......@@ -42,8 +42,6 @@ namespace webdav_ucp
public:
PropertyNames();
explicit PropertyNames( const OUString& rURL );
PropertyNames( const PropertyNames& theOther );
~PropertyNames();
sal_uInt32 getStaleTime() const { return m_nStaleTime; };
void setStaleTime( const sal_uInt32 nStaleTime ) { m_nStaleTime = nStaleTime; };
......
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