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/Protocol_1_10.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Protocol/Protocol_1_10.h') diff --git a/src/Protocol/Protocol_1_10.h b/src/Protocol/Protocol_1_10.h index 8b1f58364..9e2849d6f 100644 --- a/src/Protocol/Protocol_1_10.h +++ b/src/Protocol/Protocol_1_10.h @@ -19,12 +19,13 @@ Declares the 1.10 protocol classes: -class cProtocol_1_10_0 : +class cProtocol_1_10_0: public cProtocol_1_9_4 { - typedef cProtocol_1_9_4 Super; + using Super = cProtocol_1_9_4; public: + cProtocol_1_10_0(cClientHandle * a_Client, const AString &a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State); virtual void SendSoundEffect(const AString & a_SoundName, double a_X, double a_Y, double a_Z, float a_Volume, float a_Pitch) override; -- cgit v1.2.3