diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-09-20 11:29:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-09-20 11:29:40 +0200 |
commit | f0f600751feb5615499010c31e5a577568a88e7f (patch) | |
tree | 7ecd295c02210d107e7ccd133b035a1603258165 /include/osl/socket_decl.hxx | |
parent | cid#1371291: Add move semantics (diff) | |
download | core-f0f600751feb5615499010c31e5a577568a88e7f.tar.gz core-f0f600751feb5615499010c31e5a577568a88e7f.zip |
cid#1371245: Add move semantics
Change-Id: I35daf9030478831262521497a1977bdfbe661dd8
Diffstat (limited to 'include/osl/socket_decl.hxx')
-rw-r--r-- | include/osl/socket_decl.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/osl/socket_decl.hxx b/include/osl/socket_decl.hxx index 1913956da191..760096bab113 100644 --- a/include/osl/socket_decl.hxx +++ b/include/osl/socket_decl.hxx @@ -50,6 +50,10 @@ namespace osl */ inline SocketAddr(const SocketAddr& Addr); +#if defined LIBO_INTERNAL_ONLY + inline SocketAddr(SocketAddr && other); +#endif + /** The SocketAddr takes over the responsibility of the handle ( which means, that the handle gets destructed by the destructor of this reference) @param Addr a handle @@ -119,6 +123,10 @@ namespace osl */ inline SocketAddr & SAL_CALL operator= (const SocketAddr& Addr); +#if defined LIBO_INTERNAL_ONLY + inline SocketAddr & operator =(SocketAddr && other); +#endif + /** Assigns the socket addr without copyconstructing it. @param Addr the socket address. @param nocopy use SAL_NO_COPY |