clang-tidy: Use default member initialization

This commit is contained in:
Regina Pfeifer
2018-11-21 23:17:54 +01:00
parent 32cb564bea
commit b2aa3aedea
62 changed files with 152 additions and 347 deletions

View File

@@ -198,13 +198,10 @@ struct cmFindLibraryHelper
// Current names under consideration.
struct Name
{
bool TryRaw;
bool TryRaw = false;
std::string Raw;
cmsys::RegularExpression Regex;
Name()
: TryRaw(false)
{
}
Name() {}
};
std::vector<Name> Names;