diff options
author | Christian Pointner <equinox@anytun.org> | 2016-07-03 00:08:18 +0200 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2016-07-03 01:31:22 +0200 |
commit | 6431129558fa9e4d1b3de8fc6439594cd01d53de (patch) | |
tree | cafb483a2ba60dc8a9452d62d837e29115820607 /src/syncServer.cpp | |
parent | updated some info after moving to GIT (diff) |
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...
Diffstat (limited to 'src/syncServer.cpp')
-rw-r--r-- | src/syncServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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() |