aboutsummaryrefslogtreecommitdiff
path: root/network-handler/client.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'network-handler/client.hpp')
-rw-r--r--network-handler/client.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/network-handler/client.hpp b/network-handler/client.hpp
index e71edb2..716e2cf 100644
--- a/network-handler/client.hpp
+++ b/network-handler/client.hpp
@@ -11,8 +11,8 @@ public:
private:
boost::asio::ip::tcp::socket socket;
- OnDoneFT on_done;
boost::asio::streambuf buffer;
+ OnDoneFT done;
public:
@@ -20,5 +20,5 @@ public:
void handle_receive(boost::system::error_code const& ec, size_t read_bytes);
void receive();
- void set_on_done(OnDoneFT f);
+ void on_done(OnDoneFT f);
};