From 6c3dfd25f95217124a1696961474d05f35aec6e9 Mon Sep 17 00:00:00 2001
From: David Bodnar <bdvd001@gmail.com>
Date: Tue, 18 Jun 2019 21:47:40 +0200
Subject: [PATCH] CommandLineArguments: initialize internal class members
 directly

---
 CommandLineArguments.cxx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/CommandLineArguments.cxx b/CommandLineArguments.cxx
index a97f7a8..dc9f01d 100644
--- a/CommandLineArguments.cxx
+++ b/CommandLineArguments.cxx
@@ -67,10 +67,10 @@ class CommandLineArgumentsInternal
 {
 public:
   CommandLineArgumentsInternal()
+    : UnknownArgumentCallback{ KWSYS_NULLPTR }
+    , ClientData{ KWSYS_NULLPTR }
+    , LastArgument{ 0 }
   {
-    this->UnknownArgumentCallback = KWSYS_NULLPTR;
-    this->ClientData = KWSYS_NULLPTR;
-    this->LastArgument = 0;
   }
 
   typedef CommandLineArgumentsVectorOfStrings VectorOfStrings;
-- 
GitLab