X-Git-Url: https://git.syn-net.org/debian/?a=blobdiff_plain;f=src%2FsyncServer.h;h=c36e93d383efc4c5baa91d81d6a4ba1d2d31d715;hb=ca41e25d6eb200573a19f8a350fe309cd38e780e;hp=9be3fd0f26da70bfbfb064f6541b1c3a4ba90c25;hpb=012bc15ee82b75957d9284160fb0a0089396f0d4;p=anytun.git 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();