examples use flat_buffer

fix #1401
This commit is contained in:
Vinnie Falco
2019-01-12 17:44:29 -08:00
parent abb8203cbe
commit b337abe076
3 changed files with 3 additions and 2 deletions

View File

@@ -240,7 +240,7 @@ class websocket_session
return static_cast<Derived&>(*this);
}
beast::multi_buffer buffer_;
beast::flat_buffer buffer_;
char ping_state_ = 0;
protected:

View File

@@ -225,7 +225,7 @@ class websocket_session : public std::enable_shared_from_this<websocket_session>
net::strand<
net::io_context::executor_type> strand_;
net::steady_timer timer_;
beast::multi_buffer buffer_;
beast::flat_buffer buffer_;
char ping_state_ = 0;
public: