Differential D13478 Diff 36611 games/pokerth/files/patch-src_third__party_websocketpp_websocketpp_transport_asio_endpoint.hpp
Changeset View
Changeset View
Standalone View
Standalone View
games/pokerth/files/patch-src_third__party_websocketpp_websocketpp_transport_asio_endpoint.hpp
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- src/third_party/websocketpp/websocketpp/transport/asio/endpoint.hpp.orig 2014-01-10 21:18:21 UTC | |||||
+++ src/third_party/websocketpp/websocketpp/transport/asio/endpoint.hpp | |||||
@@ -76,16 +76,23 @@ class endpoint : public config::socket_type { (public) | |||||
/// associated with this endpoint transport component | |||||
typedef typename transport_con_type::ptr transport_con_ptr; | |||||
+#if BOOST_VERSION < 106600 | |||||
/// Type of a pointer to the ASIO io_service being used | |||||
typedef boost::asio::io_service* io_service_ptr; | |||||
+ /// Type of a shared pointer to an io_service work object | |||||
+ typedef lib::shared_ptr<boost::asio::io_service::work> work_ptr; | |||||
+#else | |||||
+ /// Type of a pointer to the ASIO io_service being used | |||||
+ typedef boost::asio::io_context* io_service_ptr; | |||||
+ /// Type of a shared pointer to an io_service work object | |||||
+ typedef lib::shared_ptr<boost::asio::io_context::work> work_ptr; | |||||
+#endif | |||||
/// Type of a shared pointer to the acceptor being used | |||||
typedef lib::shared_ptr<boost::asio::ip::tcp::acceptor> acceptor_ptr; | |||||
/// Type of a shared pointer to the resolver being used | |||||
typedef lib::shared_ptr<boost::asio::ip::tcp::resolver> resolver_ptr; | |||||
/// Type of timer handle | |||||
typedef lib::shared_ptr<boost::asio::deadline_timer> timer_ptr; | |||||
- /// Type of a shared pointer to an io_service work object | |||||
- typedef lib::shared_ptr<boost::asio::io_service::work> work_ptr; | |||||
// generate and manage our own io_service | |||||
explicit endpoint() |