Skip to content

Commit

Permalink
Attempt to fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
theohax committed Dec 13, 2021
1 parent 505ef6c commit 6478246
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions nano/node/ipc/ipc_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
#include <nano/boost/asio/local/stream_protocol.hpp>
#include <nano/boost/asio/read.hpp>
#include <nano/boost/asio/strand.hpp>
#include <nano/lib/config.hpp>
#include <nano/lib/ipc.hpp>
#include <nano/lib/locks.hpp>
#include <nano/lib/threading.hpp>
#include <nano/lib/timer.hpp>
#include <nano/node/common.hpp>
#include <nano/node/ipc/action_handler.hpp>
#include <nano/node/ipc/flatbuffers_handler.hpp>
#include <nano/node/ipc/flatbuffers_util.hpp>
#include <nano/node/ipc/ipc_server.hpp>
#include <nano/node/json_handler.hpp>
#include <nano/node/node.hpp>
Expand All @@ -21,7 +19,6 @@

#include <atomic>
#include <chrono>
#include <list>

#include <flatbuffers/flatbuffers.h>

Expand Down Expand Up @@ -557,7 +554,7 @@ 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<boost::asio::local::stream_protocol::acceptor, boost::asio::local::stream_protocol::socket, boost::asio::local::stream_protocol::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>;

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 6478246

Please sign in to comment.