mirror of
				https://github.com/AlexandreRouma/SDRPlusPlus.git
				synced 2025-10-31 00:48:11 +01:00 
			
		
		
		
	fixed build
This commit is contained in:
		| @@ -263,7 +263,7 @@ namespace net::rigctl { | ||||
|             } | ||||
|  | ||||
|             // Start handler thread | ||||
|             std::thread acceptThread(&Server::acceptWorker, this); | ||||
|             std::thread acceptThread(&Server::acceptWorker, this, sock); | ||||
|             acceptThread.detach(); | ||||
|         } | ||||
|     } | ||||
| @@ -304,13 +304,13 @@ namespace net::rigctl { | ||||
|         sock->sendstr(buf); | ||||
|     } | ||||
|  | ||||
|     void sendInt(std::shared_ptr<Socket> sock, int value) { | ||||
|     void Server::sendInt(std::shared_ptr<Socket> sock, int value) { | ||||
|         char buf[128]; | ||||
|         sprintf(buf, "%d\n", value); | ||||
|         sock->sendstr(buf); | ||||
|     } | ||||
|  | ||||
|     void sendFloat(std::shared_ptr<Socket> sock, double value) { | ||||
|     void Server::sendFloat(std::shared_ptr<Socket> sock, double value) { | ||||
|         char buf[128]; | ||||
|         sprintf(buf, "%lf\n", value); | ||||
|         sock->sendstr(buf); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user