summaryrefslogtreecommitdiffstats
path: root/Source/cmScriptGenerator.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-05-17 16:49:23 (GMT)
committerBrad King <brad.king@kitware.com>2022-05-24 13:09:43 (GMT)
commita5f8cbe8b149d4b3e1136aa4c07691397d693038 (patch)
tree721f1f857df24dc64e3673dee5877ba9c0736b53 /Source/cmScriptGenerator.h
parent437789db07258c2a96f32a8c70382b1304292589 (diff)
downloadCMake-a5f8cbe8b149d4b3e1136aa4c07691397d693038.zip
CMake-a5f8cbe8b149d4b3e1136aa4c07691397d693038.tar.gz
CMake-a5f8cbe8b149d4b3e1136aa4c07691397d693038.tar.bz2
clang-tidy: address `modernize-use-default-member-init` lints
Diffstat (limited to 'Source/cmScriptGenerator.h')
-rw-r--r--Source/cmScriptGenerator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmScriptGenerator.h b/Source/cmScriptGenerator.h
index 46d794c..3d7b350 100644
--- a/Source/cmScriptGenerator.h
+++ b/Source/cmScriptGenerator.h
@@ -78,12 +78,12 @@ protected:
// Information used during generation.
std::string ConfigurationName;
- std::vector<std::string> const* ConfigurationTypes;
+ std::vector<std::string> const* ConfigurationTypes = nullptr;
// True if the subclass needs to generate an explicit rule for each
// configuration. False if the subclass only generates one rule for
// all enabled configurations.
- bool ActionsPerConfig;
+ bool ActionsPerConfig = false;
private:
void GenerateScriptActionsOnce(std::ostream& os, Indent indent);