Differential D13478 Diff 36611 games/pokerth/files/patch-src_third__party_websocketpp_websocketpp_transport_asio_connection.hpp
Changeset View
Changeset View
Standalone View
Standalone View
games/pokerth/files/patch-src_third__party_websocketpp_websocketpp_transport_asio_connection.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/connection.hpp.orig 2014-01-10 21:18:21 UTC | |||||
+++ src/third_party/websocketpp/websocketpp/transport/asio/connection.hpp | |||||
@@ -79,10 +79,18 @@ class connection : public config::socket_type::socket_ | |||||
typedef typename config::response_type response_type; | |||||
typedef typename response_type::ptr response_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 pointer to the ASIO io_service::strand being used | |||||
typedef lib::shared_ptr<boost::asio::io_service::strand> strand_ptr; | |||||
+#else | |||||
+ /// Type of a pointer to the ASIO io_service being used | |||||
+ typedef boost::asio::io_context* io_service_ptr; | |||||
+ /// Type of a pointer to the ASIO io_service::strand being used | |||||
+ typedef lib::shared_ptr<boost::asio::io_context::strand> strand_ptr; | |||||
+#endif | |||||
+ | |||||
/// Type of a pointer to the ASIO timer class | |||||
typedef lib::shared_ptr<boost::asio::deadline_timer> timer_ptr; | |||||