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