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/Protocol/MojangAPI.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/Protocol/MojangAPI.cpp') diff --git a/src/Protocol/MojangAPI.cpp b/src/Protocol/MojangAPI.cpp index 49e34b66c..be6ee35e2 100644 --- a/src/Protocol/MojangAPI.cpp +++ b/src/Protocol/MojangAPI.cpp @@ -228,13 +228,15 @@ cMojangAPI::sProfile::sProfile( //////////////////////////////////////////////////////////////////////////////// // cMojangAPI::cUpdateThread: -class cMojangAPI::cUpdateThread : +class cMojangAPI::cUpdateThread: public cIsThread { - typedef cIsThread super; + using Super = cIsThread; + public: - cUpdateThread(cMojangAPI & a_MojangAPI) : - super("cMojangAPI::cUpdateThread"), + + cUpdateThread(cMojangAPI & a_MojangAPI): + Super("cMojangAPI::cUpdateThread"), m_MojangAPI(a_MojangAPI) { } -- cgit v1.2.3