diff --git a/CommandLineArguments.cxx b/CommandLineArguments.cxx index 2978b4e1b8819073d9c477a238a3fa51cc5e5512..cf96cc49c68107b338215d3a34eea515867eda4c 100644 --- a/CommandLineArguments.cxx +++ b/CommandLineArguments.cxx @@ -66,12 +66,7 @@ class CommandLineArgumentsMapOfStrucs class CommandLineArgumentsInternal { public: - CommandLineArgumentsInternal() - : UnknownArgumentCallback{ nullptr } - , ClientData{ nullptr } - , LastArgument{ 0 } - { - } + CommandLineArgumentsInternal() {} using VectorOfStrings = CommandLineArgumentsVectorOfStrings; using CallbacksMap = CommandLineArgumentsMapOfStrucs; @@ -82,10 +77,10 @@ public: String Argv0; CallbacksMap Callbacks; - CommandLineArguments::ErrorCallbackType UnknownArgumentCallback; - void* ClientData; + CommandLineArguments::ErrorCallbackType UnknownArgumentCallback{ nullptr }; + void* ClientData{ nullptr }; - VectorOfStrings::size_type LastArgument; + VectorOfStrings::size_type LastArgument{ 0 }; VectorOfStrings UnusedArguments; }; diff --git a/SystemInformation.cxx b/SystemInformation.cxx index ab719c91cda7993e86ae091d8d6ca4ab62b567c4..73b2e6902ec53295a99ecc8556cc10c0ccd28040 100644 --- a/SystemInformation.cxx +++ b/SystemInformation.cxx @@ -314,7 +314,7 @@ class SystemInformationImplementation public: using LongLong = SystemInformation::LongLong; SystemInformationImplementation(); - ~SystemInformationImplementation(); + ~SystemInformationImplementation() = default; const char* GetVendorString() const; const char* GetVendorID(); @@ -1507,10 +1507,6 @@ SystemInformationImplementation::SystemInformationImplementation() this->OSIs64Bit = (sizeof(void*) == 8); } -SystemInformationImplementation::~SystemInformationImplementation() -{ -} - void SystemInformationImplementation::RunCPUCheck() { #ifdef _WIN32