Fix compile issues for ASIO_STANDALONE

This commit is contained in:
Guillaume Egles
2017-08-30 14:46:56 -07:00
parent 67224f71b5
commit e9c65467b3
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -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
+1 -1
View File
@@ -89,7 +89,7 @@ public:
typedef lib::shared_ptr<lib::asio::io_service::work> work_ptr;
/// Type of socket pre-bind handler
typedef lib::function<boost::system::error_code(acceptor_ptr)> tcp_pre_bind_handler;
typedef lib::function<lib::error_code(acceptor_ptr)> tcp_pre_bind_handler;
// generate and manage our own io_service
explicit endpoint()