aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHannes Rantzsch <[email protected]>2019-02-19 14:47:12 +0100
committerHannes Rantzsch <[email protected]>2019-04-16 10:47:39 +0200
commit7887a4fff97560303ab2c1b63e2a25f1153c0d3a (patch)
tree1d6f3d44463ff3849d7247022abee5cfd48e0bd3 /src
parent19ab118d1169d0939ad69a867d27b004a9293216 (diff)
fix: const copy c'tors in async ops
Diffstat (limited to 'src')
-rw-r--r--src/lib/asio/asio_async_handshake_op.h2
-rw-r--r--src/lib/asio/asio_async_read_op.h2
-rw-r--r--src/lib/asio/asio_async_write_op.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/asio/asio_async_handshake_op.h b/src/lib/asio/asio_async_handshake_op.h
index 4c5f8385b..3f3bea2ab 100644
--- a/src/lib/asio/asio_async_handshake_op.h
+++ b/src/lib/asio/asio_async_handshake_op.h
@@ -24,7 +24,7 @@ struct AsyncHandshakeOperation
handler_(std::move(right.handler_)) {}
~AsyncHandshakeOperation() = default;
- AsyncHandshakeOperation(AsyncHandshakeOperation&) = delete;
+ AsyncHandshakeOperation(AsyncHandshakeOperation const&) = delete;
void operator()(boost::system::error_code ec,
std::size_t bytesTransferred = 0, int start = 0)
diff --git a/src/lib/asio/asio_async_read_op.h b/src/lib/asio/asio_async_read_op.h
index b9f8df600..84d002a6b 100644
--- a/src/lib/asio/asio_async_read_op.h
+++ b/src/lib/asio/asio_async_read_op.h
@@ -22,7 +22,7 @@ struct AsyncReadOperation
buffers_(right.buffers_) {}
~AsyncReadOperation() = default;
- AsyncReadOperation(AsyncReadOperation&) = delete;
+ AsyncReadOperation(AsyncReadOperation const&) = delete;
void operator()(boost::system::error_code ec,
std::size_t bytes_transferred = ~std::size_t(0))
diff --git a/src/lib/asio/asio_async_write_op.h b/src/lib/asio/asio_async_write_op.h
index e1aeeb0bd..9bbe74a15 100644
--- a/src/lib/asio/asio_async_write_op.h
+++ b/src/lib/asio/asio_async_write_op.h
@@ -21,7 +21,7 @@ struct AsyncWriteOperation
plainBytesTransferred_(right.plainBytesTransferred_) {}
~AsyncWriteOperation() = default;
- AsyncWriteOperation(AsyncWriteOperation&) = delete;
+ AsyncWriteOperation(AsyncWriteOperation const&) = delete;
void operator()(boost::system::error_code ec,
std::size_t bytes_transferred = ~std::size_t(0))