From 98e4ddfb21d285c8b675788c155bb204822fbd4a Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 6 Feb 2020 11:25:42 +0000 Subject: Use C++11 inline initialisation for class members. --- src/inspircd.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 97941c72f..e3ea33d6a 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -448,12 +448,7 @@ void InspIRCd::WritePID(bool exitonfail) } InspIRCd::InspIRCd(int argc, char** argv) - : FakeClient(NULL) - , ConfigFileName(INSPIRCD_CONFIG_PATH "/inspircd.conf") - , ConfigThread(NULL) - , Config(NULL) - , XLines(NULL) - , PI(&DefaultProtocolInterface) + : PI(&DefaultProtocolInterface) , GenRandom(&DefaultGenRandom) , IsChannel(&DefaultIsChannel) , IsNick(&DefaultIsNick) -- cgit v1.3.1-10-gc9f91