From 9ee47e59995f858ec531b3ee467f131594e4ba1f Mon Sep 17 00:00:00 2001 From: Mattes D Date: Mon, 13 Apr 2020 18:38:06 +0200 Subject: Using Super. --- src/Server.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/Server.h') diff --git a/src/Server.h b/src/Server.h index 28342cfb6..b1329f69b 100644 --- a/src/Server.h +++ b/src/Server.h @@ -165,13 +165,16 @@ private: friend class cRoot; // so cRoot can create and destroy cServer friend class cServerListenCallbacks; // Accessing OnConnectionAccepted() + + /** The server tick thread takes care of the players who aren't yet spawned in a world */ - class cTickThread : + class cTickThread: public cIsThread { - typedef cIsThread super; + using Super = cIsThread; public: + cTickThread(cServer & a_Server); protected: @@ -182,6 +185,7 @@ private: } ; + /** The network sockets listening for client connections. */ cServerHandlePtrs m_ServerHandles; -- cgit v1.2.3