Skip to content

Commit e9c6546

Browse files
author
Guillaume Egles
committed
Fix compile issues for ASIO_STANDALONE
1 parent 67224f7 commit e9c6546

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

websocketpp/common/asio.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ namespace lib {
8888
inline lib::chrono::milliseconds milliseconds(long duration) {
8989
return lib::chrono::milliseconds(duration);
9090
}
91-
92-
} // namespace error
93-
} // namespace ssl
9491
} // namespace asio
9592

9693
#else

websocketpp/transport/asio/endpoint.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class endpoint : public config::socket_type {
8989
typedef lib::shared_ptr<lib::asio::io_service::work> work_ptr;
9090

9191
/// Type of socket pre-bind handler
92-
typedef lib::function<boost::system::error_code(acceptor_ptr)> tcp_pre_bind_handler;
92+
typedef lib::function<lib::error_code(acceptor_ptr)> tcp_pre_bind_handler;
9393

9494
// generate and manage our own io_service
9595
explicit endpoint()

0 commit comments

Comments
 (0)