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/anytun-config.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/anytun-config.cpp') diff --git a/src/anytun-config.cpp b/src/anytun-config.cpp index b305dc6..ff36487 100644 --- a/src/anytun-config.cpp +++ b/src/anytun-config.cpp @@ -139,10 +139,10 @@ int main(int argc, char* argv[]) int ret = 0; UDPPacketSource::proto::endpoint endpoint; // allow emtpy endpoint!!! - gResolver.resolveUdp(gOpt.getRemoteAddr(), gOpt.getRemotePort(), - boost::bind(createConnectionResolver, _1, boost::ref(cl), gOpt.getSeqWindowSize(), boost::ref(queue), gOpt.getMux(), boost::ref(sem)), - boost::bind(createConnectionError, _1, boost::ref(sem), boost::ref(ret)), - gOpt.getResolvAddrType()); +// gResolver.resolveUdp(gOpt.getRemoteAddr(), gOpt.getRemotePort(), +// boost::bind(createConnectionResolver, _1, boost::ref(cl), gOpt.getSeqWindowSize(), boost::ref(queue), gOpt.getMux(), boost::ref(sem)), +// boost::bind(createConnectionError, _1, boost::ref(sem), boost::ref(ret)), +// gOpt.getResolvAddrType()); sem.down(); return ret; } -- cgit v1.2.3