From a0d7de40d52fd824438ac3f212b0044c617e2c4c Mon Sep 17 00:00:00 2001 From: Ivan Shynkarenka Date: Wed, 26 Jul 2017 00:46:29 +0300 Subject: [PATCH] Fix compilation errors in standalone mode --- websocketpp/common/asio.hpp | 2 -- websocketpp/transport/asio/endpoint.hpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/websocketpp/common/asio.hpp b/websocketpp/common/asio.hpp index 383577254..8f635a039 100644 --- a/websocketpp/common/asio.hpp +++ b/websocketpp/common/asio.hpp @@ -89,8 +89,6 @@ namespace lib { return lib::chrono::milliseconds(duration); } - } // namespace error - } // namespace ssl } // namespace asio #else diff --git a/websocketpp/transport/asio/endpoint.hpp b/websocketpp/transport/asio/endpoint.hpp index 4ed75dc9f..1f44b4c1f 100644 --- a/websocketpp/transport/asio/endpoint.hpp +++ b/websocketpp/transport/asio/endpoint.hpp @@ -89,7 +89,7 @@ class endpoint : public config::socket_type { typedef lib::shared_ptr work_ptr; /// Type of socket pre-bind handler - typedef lib::function tcp_pre_bind_handler; + typedef lib::function tcp_pre_bind_handler; // generate and manage our own io_service explicit endpoint()