Skip to content

Commit

Permalink
Fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
theohax committed Dec 13, 2021
1 parent 6478246 commit 13d7f96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nano/node/ipc/ipc_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,9 @@ class socket_transport : public nano::ipc::transport
};

using tcp_socket_transport = socket_transport<boost::asio::ip::tcp::acceptor, boost::asio::ip::tcp::socket, boost::asio::ip::tcp::endpoint>;
using domain_socket_transport = socket_transport<typename boost::asio::local::stream_protocol::acceptor, typename boost::asio::local::stream_protocol::socket, typename boost::asio::local::stream_protocol::endpoint>;
#if defined(BOOST_ASIO_HAS_LOCAL_SOCKETS)
using domain_socket_transport = socket_transport<boost::asio::local::stream_protocol::acceptor, boost::asio::local::stream_protocol::socket, boost::asio::local::stream_protocol::endpoint>;
#endif

template <typename ACCEPTOR_TYPE, typename SOCKET_TYPE, typename ENDPOINT_TYPE>
std::optional<std::uint16_t> socket_transport<ACCEPTOR_TYPE, SOCKET_TYPE, ENDPOINT_TYPE>::listening_port () const
Expand Down

0 comments on commit 13d7f96

Please sign in to comment.