aboutsummaryrefslogtreecommitdiff
path: root/libcmix-network/client.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcmix-network/client.hpp')
-rw-r--r--libcmix-network/client.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcmix-network/client.hpp b/libcmix-network/client.hpp
index 7b2b16f..ff32d2e 100644
--- a/libcmix-network/client.hpp
+++ b/libcmix-network/client.hpp
@@ -74,8 +74,8 @@ class BaseClient {
boost::asio::async_read(
*socket,
receive_buffer->prepare(size),
- [this, message_handler](boost::system::error_code const& ec, size_t read_bytes) {
- handle_receive_message(message_handler, ec, read_bytes);
+ [this, message_handler](boost::system::error_code const& ec2, size_t read_bytes2) {
+ handle_receive_message(message_handler, ec2, read_bytes2);
}
);
} else {