diff options
| author | tobtoht <tob@featherwallet.org> | 2025-02-15 04:48:18 +0000 |
|---|---|---|
| committer | tobtoht <tob@featherwallet.org> | 2025-02-15 04:48:18 +0000 |
| commit | be0efaf7f6a97d437381b7988f6dfcedb89cb4af (patch) | |
| tree | 7aa82581901a978c3c7ba3b0f50ac8c84f753945 /src/p2p/net_node.h | |
| parent | 23a11d851adef30aea1888da0a7dd23936c81ec1 (diff) | |
| parent | 01bcd52924244ec8d2a24c10fcef8959289d09ff (diff) | |
| download | monzero-core-be0efaf7f6a97d437381b7988f6dfcedb89cb4af.tar.gz monzero-core-be0efaf7f6a97d437381b7988f6dfcedb89cb4af.tar.xz monzero-core-be0efaf7f6a97d437381b7988f6dfcedb89cb4af.zip | |
Merge pull request #9800
01bcd5292 Fix build with boost ASIO 0.87. Support boost 1.66+ (Lee *!* Clagett)
Diffstat (limited to 'src/p2p/net_node.h')
| -rw-r--r-- | src/p2p/net_node.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h index cbdeef7e3..5f471ad55 100644 --- a/src/p2p/net_node.h +++ b/src/p2p/net_node.h @@ -31,7 +31,7 @@ #pragma once #include <array> #include <atomic> -#include <boost/asio/io_service.hpp> +#include <boost/asio/io_context.hpp> #include <boost/asio/ip/tcp.hpp> #include <boost/thread.hpp> #include <boost/optional/optional_fwd.hpp> @@ -104,7 +104,7 @@ namespace nodetool // hides boost::future and chrono stuff from mondo template file boost::optional<boost::asio::ip::tcp::socket> - socks_connect_internal(const std::atomic<bool>& stop_signal, boost::asio::io_service& service, const boost::asio::ip::tcp::endpoint& proxy, const epee::net_utils::network_address& remote); + socks_connect_internal(const std::atomic<bool>& stop_signal, boost::asio::io_context& service, const boost::asio::ip::tcp::endpoint& proxy, const epee::net_utils::network_address& remote); template<class base_type> @@ -181,7 +181,7 @@ namespace nodetool set_config_defaults(); } - network_zone(boost::asio::io_service& public_service) + network_zone(boost::asio::io_context& public_service) : m_connect(nullptr), m_net_server(public_service, epee::net_utils::e_connection_type_P2P), m_seed_nodes(), |
