summaryrefslogtreecommitdiffstats
path: root/Source/cmFindLibraryCommand.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2018-11-21 22:17:54 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2018-12-15 09:52:37 (GMT)
commitb2aa3aedeab09ad7b2c95353d2d3c3d867bcec53 (patch)
tree44678a6866dac777b571e84aed52d62d286654cf /Source/cmFindLibraryCommand.cxx
parent32cb564bea57af007d03fa31d80a0177057fc901 (diff)
downloadCMake-b2aa3aedeab09ad7b2c95353d2d3c3d867bcec53.zip
CMake-b2aa3aedeab09ad7b2c95353d2d3c3d867bcec53.tar.gz
CMake-b2aa3aedeab09ad7b2c95353d2d3c3d867bcec53.tar.bz2
clang-tidy: Use default member initialization
Diffstat (limited to 'Source/cmFindLibraryCommand.cxx')
-rw-r--r--Source/cmFindLibraryCommand.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx
index 1e1ab14..5a5d036 100644
--- a/Source/cmFindLibraryCommand.cxx
+++ b/Source/cmFindLibraryCommand.cxx
@@ -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;