diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-07-17 20:37:13 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-08-17 18:42:53 (GMT) |
commit | c1defd9dd3e9cacd4a40fcbc9f52e36493dd1d0b (patch) | |
tree | fb8fca233795e26fa95d53ec0df4bc949341c0e0 /Source | |
parent | a53748e31906b5821f3aedeb848ac53dcdd6389d (diff) | |
download | CMake-c1defd9dd3e9cacd4a40fcbc9f52e36493dd1d0b.zip CMake-c1defd9dd3e9cacd4a40fcbc9f52e36493dd1d0b.tar.gz CMake-c1defd9dd3e9cacd4a40fcbc9f52e36493dd1d0b.tar.bz2 |
cmDyndepCollation: add initializers for POD types
This avoids invalid states from existing.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmDyndepCollation.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmDyndepCollation.cxx b/Source/cmDyndepCollation.cxx index bd2f546..dfab975 100644 --- a/Source/cmDyndepCollation.cxx +++ b/Source/cmDyndepCollation.cxx @@ -289,11 +289,11 @@ void cmDyndepCollation::AddCollationInformation( struct CxxModuleFileSet { std::string Name; - bool BmiOnly; + bool BmiOnly = false; std::string RelativeDirectory; std::string SourcePath; std::string Type; - cmFileSetVisibility Visibility; + cmFileSetVisibility Visibility = cmFileSetVisibility::Private; cm::optional<std::string> Destination; }; |