diff options
author | Christian Pointner <equinox@anytun.org> | 2016-07-03 01:30:11 +0200 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2016-07-03 01:31:22 +0200 |
commit | 16abad80ef9808f2f5bb8420d2afab2111eec502 (patch) | |
tree | 1b5c9763d134ffda7eb5ee5b892038a1de881b6d /src/syncServer.h | |
parent | std::auto_ptr is deprecated sinc C++0x use boost:scoped_ptr and boost::shared... (diff) |
fixed boost::bind problem with resolver on GCC-6
Diffstat (limited to 'src/syncServer.h')
-rw-r--r-- | src/syncServer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syncServer.h b/src/syncServer.h index 9be3fd0..c36e93d 100644 --- a/src/syncServer.h +++ b/src/syncServer.h @@ -64,7 +64,7 @@ class SyncServer public: SyncServer(std::string localaddr, std::string port, ConnectCallback onConnect); ~SyncServer(); - void onResolve(SyncTcpConnection::proto::resolver::iterator& it); + void onResolve(SyncTcpConnection::proto::resolver::iterator it); void onResolvError(const std::runtime_error& e); void run(); |