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.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/network-handler/client.hpp b/network-handler/client.hpp
index 878c5be..e71edb2 100644
--- a/network-handler/client.hpp
+++ b/network-handler/client.hpp
@@ -1,6 +1,7 @@
#pragma once
#include <boost/asio/ip/tcp.hpp>
+#include <boost/asio/streambuf.hpp>
#include <array>
@@ -10,8 +11,8 @@ public:
private:
boost::asio::ip::tcp::socket socket;
- std::array<uint8_t, 20> buffer;
OnDoneFT on_done;
+ boost::asio::streambuf buffer;
public: