From 5dd51e87e5b59e81287c2b29c2a82b4ac2c2a1d0 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sun, 19 Jul 2020 20:49:29 +0100 Subject: Inherit constructors, remove duplication --- src/Protocol/Protocol_1_12.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Protocol/Protocol_1_12.h') diff --git a/src/Protocol/Protocol_1_12.h b/src/Protocol/Protocol_1_12.h index 266fc03bb..b0423f56c 100644 --- a/src/Protocol/Protocol_1_12.h +++ b/src/Protocol/Protocol_1_12.h @@ -31,7 +31,7 @@ class cProtocol_1_12: public: - cProtocol_1_12(cClientHandle * a_Client, const AString &a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State); + using Super::cProtocol_1_11_1; protected: @@ -58,7 +58,7 @@ class cProtocol_1_12_1: public: - cProtocol_1_12_1(cClientHandle * a_Client, const AString &a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State); + using Super::cProtocol_1_12; protected: @@ -80,7 +80,7 @@ class cProtocol_1_12_2: public: - cProtocol_1_12_2(cClientHandle * a_Client, const AString & a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State); + using Super::cProtocol_1_12_1; protected: -- cgit v1.2.3