Merge pull request #665 from gegles/develop

Fix compile issues for ASIO_STANDALONE
This commit is contained in:
Peter Thorson authored and GitHub committed 2017-09-24 08:41:15 -05:00
commit 749b119b6b
2 files changed
+1 -4

No files matched your search

-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()