Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/Simple-WebSocket-Server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreidheim <eidheim@gmail.com>2019-12-29 12:57:10 +0300
committereidheim <eidheim@gmail.com>2019-12-29 12:57:10 +0300
commit64fb08ce9fe9a0d4ed318deb3f3e7e5c5663ce7d (patch)
tree1d0f642bb14d064c64dd8c0a620595ea4c66a242 /client_ws.hpp
parent971295b200b95a01c66520fd00dd61154e0e1f21 (diff)
Added SimpleWeb::post to asio_compability.hpp
Diffstat (limited to 'client_ws.hpp')
-rw-r--r--client_ws.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client_ws.hpp b/client_ws.hpp
index 26c845e..274bfd1 100644
--- a/client_ws.hpp
+++ b/client_ws.hpp
@@ -319,7 +319,7 @@ namespace SimpleWeb {
connect();
if(callback)
- io_service->post(std::move(callback));
+ post(*io_service, std::move(callback));
if(internal_io_service)
io_service->run();