From 6431129558fa9e4d1b3de8fc6439594cd01d53de Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 3 Jul 2016 00:08:18 +0200 Subject: std::auto_ptr is deprecated sinc C++0x use boost:scoped_ptr and boost::shared_ptr as a backwards compatiple replacement boost::bind problem with GCC-6 is still unfixed and all resolvers are commented out at the moment... --- src/syncServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/syncServer.cpp') diff --git a/src/syncServer.cpp b/src/syncServer.cpp index 35ad3f2..0c2b2b8 100644 --- a/src/syncServer.cpp +++ b/src/syncServer.cpp @@ -53,7 +53,7 @@ SyncServer::SyncServer(std::string localaddr, std::string port, ConnectCallback onConnect) : onConnect_(onConnect) { - gResolver.resolveTcp(localaddr, port, boost::bind(&SyncServer::onResolve, this, _1), boost::bind(&SyncServer::onResolvError, this, _1)); +// gResolver.resolveTcp(localaddr, port, boost::bind(&SyncServer::onResolve, this, _1), boost::bind(&SyncServer::onResolvError, this, _1)); } SyncServer::~SyncServer() -- cgit v1.2.3