From 2a7912835acc4f51816fbb620a5fab05de99ac13 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Sun, 11 Aug 2024 17:19:51 -0700 Subject: [PATCH] receive doesn't need to be public --- reflector/TCSocket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflector/TCSocket.h b/reflector/TCSocket.h index f6ffaac..a22dc5b 100644 --- a/reflector/TCSocket.h +++ b/reflector/TCSocket.h @@ -37,7 +37,6 @@ public: void Close(); // close all open sockets void Close(char module); // close a specific module void Close(int fd); // close a specific file descriptor - bool receive(int fd, STCPacket *packet); // All bool functions, except Server Receive, return true if there was an error bool Send(const STCPacket *packet); @@ -46,6 +45,7 @@ public: char GetMod(int fd) const; protected: + bool receive(int fd, STCPacket *packet); std::vector m_Pfd; std::string m_Modules; };