From 72a816b23c03fe9972d5dc761682ae0fd2be17f9 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Thu, 4 Apr 2024 11:04:32 +0200 Subject: [PATCH] nodiscard --- TCPServer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TCPServer.h b/TCPServer.h index 407a310..62c77e9 100644 --- a/TCPServer.h +++ b/TCPServer.h @@ -53,7 +53,7 @@ public: void stop(); - int nbClients() const; + [[nodiscard]] int nbClients() const; void checkIfAllClientsReady();