From e9c65467b38b26f18d4a4d4a6e2cbe5cd6efa26e Mon Sep 17 00:00:00 2001 From: Guillaume Egles Date: Wed, 30 Aug 2017 14:46:56 -0700 Subject: [PATCH] Fix compile issues for ASIO_STANDALONE --- websocketpp/common/asio.hpp | 3 --- websocketpp/transport/asio/endpoint.hpp | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/websocketpp/common/asio.hpp b/websocketpp/common/asio.hpp index 3835772..3c8fa13 100644 --- a/websocketpp/common/asio.hpp +++ b/websocketpp/common/asio.hpp @@ -88,9 +88,6 @@ namespace lib { inline lib::chrono::milliseconds milliseconds(long duration) { 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 4ed75dc..1f44b4c 100644 --- a/websocketpp/transport/asio/endpoint.hpp +++ b/websocketpp/transport/asio/endpoint.hpp @@ -89,7 +89,7 @@ public: 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()