Merge branch savoirfairelinux 'master' changes

This commit is contained in:
Seva committed 2019-05-27 15:23:26 -04:00
commit 078c1198b0
1 file changed
+2 -7
+2 -7
View File
@@ -151,13 +151,8 @@ struct DhtProxyClient::ProxySearch {
DhtProxyClient::DhtProxyClient() {}
<<<<<<< HEAD
DhtProxyClient::DhtProxyClient(std::function<void()> signal, const std::string& serverHost, const std::string& pushClientId, const Logger& l)
: DhtInterface(l), serverHost_(serverHost), pushClientId_(pushClientId), loopSignal_(signal)
=======
DhtProxyClient::DhtProxyClient(std::function<void()> 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<void()> 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;