summaryrefslogtreecommitdiffstats
path: root/CommandLineArguments.cxx
diff options
context:
space:
mode:
authorKWSys Upstream <kwrobot@kitware.com>2019-07-25 11:53:43 (GMT)
committerBrad King <brad.king@kitware.com>2019-07-25 11:54:33 (GMT)
commit780d9e070bec694c12a10162d64196073c6d2ba2 (patch)
tree26d6668f6c9023ce29b8c897d8bd40dd69c13610 /CommandLineArguments.cxx
parent9ef1e13bcccd46c822ee813017601781bbe9a43d (diff)
downloadCMake-780d9e070bec694c12a10162d64196073c6d2ba2.zip
CMake-780d9e070bec694c12a10162d64196073c6d2ba2.tar.gz
CMake-780d9e070bec694c12a10162d64196073c6d2ba2.tar.bz2
KWSys 2019-07-25 (a24a6acb)
Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit a24a6acbbb4a51cf6fefbeb10d1f63ed1b670c69 (master). Upstream Shortlog ----------------- Brad King (3): 15896025 SystemTools: Use C++11 in SystemToolsAppendComponents c6f8e24a SystemTools: Fix CollapseFullPath with relative base path 5ca03af6 SystemTools: Revert "Reduce scope of 'buf' variable in CollapseFullPath" David Bodnar (5): 116a4919 RegularExpression: Reduce scope of 'len' variable 31f5cdeb RegularExpression: Initialize private members on construction 6e36d909 SystemTools: Reduce scope of 'buf' variable in CollapseFullPath a93bc28c SystemTools: Drop unnecessary .c_str() 6c3dfd25 CommandLineArguments: initialize internal class members directly
Diffstat (limited to 'CommandLineArguments.cxx')
-rw-r--r--CommandLineArguments.cxx6
1 files 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;