summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.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/cmMakefile.cxx
parent32cb564bea57af007d03fa31d80a0177057fc901 (diff)
downloadCMake-b2aa3aedeab09ad7b2c95353d2d3c3d867bcec53.zip
CMake-b2aa3aedeab09ad7b2c95353d2d3c3d867bcec53.tar.gz
CMake-b2aa3aedeab09ad7b2c95353d2d3c3d867bcec53.tar.bz2
clang-tidy: Use default member initialization
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 5cd6ba5..d7c4f22 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -2697,13 +2697,9 @@ typedef enum
} t_domain;
struct t_lookup
{
- t_lookup()
- : domain(NORMAL)
- , loc(0)
- {
- }
- t_domain domain;
- size_t loc;
+ t_lookup() {}
+ t_domain domain = NORMAL;
+ size_t loc = 0;
};
cmake::MessageType cmMakefile::ExpandVariablesInStringNew(