summaryrefslogtreecommitdiff
path: root/include/osl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-07-26 14:00:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-07-27 08:26:07 +0200
commit739f746254853dbf6552b0fac9192bfd5ddd0118 (patch)
tree9f5fa901c2bdd38cffee24cf56166543fa473991 /include/osl
parentba263144035ddc27ab05b4f2d78d116acc24f92e (diff)
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: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/osl')
-rw-r--r--include/osl/pipe.hxx5
-rw-r--r--include/osl/pipe_decl.hxx5
-rw-r--r--include/osl/socket.hxx5
-rw-r--r--include/osl/socket_decl.hxx2
4 files changed, 0 insertions, 17 deletions
diff --git a/include/osl/pipe.hxx b/include/osl/pipe.hxx
index 40362de287a7..e9cfe2e6c3f0 100644
--- a/include/osl/pipe.hxx
+++ b/include/osl/pipe.hxx
@@ -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 )
{}
diff --git a/include/osl/pipe_decl.hxx b/include/osl/pipe_decl.hxx
index 81bc4fd81183..146b77a5624e 100644
--- a/include/osl/pipe_decl.hxx
+++ b/include/osl/pipe_decl.hxx
@@ -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
diff --git a/include/osl/socket.hxx b/include/osl/socket.hxx
index 78bb4b1c3768..0227095df089 100644
--- a/include/osl/socket.hxx
+++ b/include/osl/socket.hxx
@@ -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 );
diff --git a/include/osl/socket_decl.hxx b/include/osl/socket_decl.hxx
index ebf831dfb0e4..3d2a05634348 100644
--- a/include/osl/socket_decl.hxx
+++ b/include/osl/socket_decl.hxx
@@ -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 );