diff --git a/src/dht_proxy_client.cpp b/src/dht_proxy_client.cpp index 030c058f..e0260092 100644 --- a/src/dht_proxy_client.cpp +++ b/src/dht_proxy_client.cpp @@ -151,13 +151,8 @@ struct DhtProxyClient::ProxySearch { DhtProxyClient::DhtProxyClient() {} -<<<<<<< HEAD -DhtProxyClient::DhtProxyClient(std::function signal, const std::string& serverHost, const std::string& pushClientId, const Logger& l) -: DhtInterface(l), serverHost_(serverHost), pushClientId_(pushClientId), loopSignal_(signal) -======= -DhtProxyClient::DhtProxyClient(std::function signal, const std::string& serverHost, const std::string& pushClientId) -: serverHost_(serverHost), pushClientId_(pushClientId), loopSignal_(signal), io_context(new restinio::asio_ns::io_context()) ->>>>>>> dhtproxy: switch threading to io_context +DhtProxyClient::DhtProxyClient(std::function signal, const std::string& serverHost, const std::string& pushClientId, const Logger& l): + serverHost_(serverHost), pushClientId_(pushClientId), loopSignal_(signal), io_context(new restinio::asio_ns::io_context()) { auto hostAndPort = splitPort(serverHost_); this->serverHostIp_ = hostAndPort.first;