Examples use flat_buffer

fix #1488
This commit is contained in:
Vinnie Falco
2019-03-01 12:02:28 -08:00
parent 7806672f42
commit 272b6f23e4
17 changed files with 19 additions and 18 deletions
@@ -89,7 +89,7 @@ int main(int argc, char** argv)
ws.write(net::buffer(std::string(text)));
// This buffer will hold the incoming message
beast::multi_buffer buffer;
beast::flat_buffer buffer;
// Read a message into our buffer
ws.read(buffer);