New upstream version 0.3.6
[anytun.git] / src / syncServer.h
index 9be3fd0..c36e93d 100644 (file)
@@ -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();