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

sal: 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

Change-Id: I4da623b67ef1792f9dd04382dcb0e772d66bdb40
Reviewed-on: https://gerrit.libreoffice.org/58104
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst ba263144
......@@ -186,11 +186,6 @@ namespace osl
: Pipe( strName, Options )
{}
inline StreamPipe::StreamPipe(const StreamPipe& aPipe)
: Pipe( aPipe )
{}
inline StreamPipe::StreamPipe( oslPipe pipe, __sal_NoAcquire noacquire )
: Pipe( pipe , noacquire )
{}
......
......@@ -160,11 +160,6 @@ public:
*/
inline StreamPipe(oslPipe Pipe);
/** Copy constructor.
@param Pipe
*/
inline StreamPipe(const StreamPipe& Pipe);
/** Creates a pipe.
@param[in] strName Pipe name
......
......@@ -433,11 +433,6 @@ namespace osl
{}
inline StreamSocket::StreamSocket( const StreamSocket & socket )
: Socket( socket )
{}
inline sal_Int32 StreamSocket::read(void* pBuffer, sal_uInt32 n)
{
return osl_readSocket( m_handle, pBuffer, n );
......
......@@ -538,8 +538,6 @@ namespace osl
oslProtocol Protocol = osl_Socket_ProtocolIp,
oslSocketType Type = osl_Socket_TypeStream);
inline StreamSocket( const StreamSocket & );
inline StreamSocket( oslSocket Socket , __sal_NoAcquire noacquire );
inline StreamSocket( oslSocket Socket );
......
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