diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-08-23 21:25:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-09-03 17:21:26 (GMT) |
commit | 62e5f722899cfa7c51791be7697c9030aee3a19b (patch) | |
tree | afbde974693e3473db968a5b4a50fe9126e71d14 /Source/cmMakefile.cxx | |
parent | 711e1c3ada26d952fa6360e671379b7bf1be2f17 (diff) | |
download | CMake-62e5f722899cfa7c51791be7697c9030aee3a19b.zip CMake-62e5f722899cfa7c51791be7697c9030aee3a19b.tar.gz CMake-62e5f722899cfa7c51791be7697c9030aee3a19b.tar.bz2 |
clang-tidy: Replace typedef with using
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 4b26ec6..dfe0086 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -4321,7 +4321,7 @@ bool cmMakefile::HasCMP0054AlreadyBeenReported( void cmMakefile::RecordPolicies(cmPolicies::PolicyMap& pm) { /* Record the setting of every policy. */ - typedef cmPolicies::PolicyID PolicyID; + using PolicyID = cmPolicies::PolicyID; for (PolicyID pid = cmPolicies::CMP0000; pid != cmPolicies::CMPCOUNT; pid = PolicyID(pid + 1)) { pm.Set(pid, this->GetPolicyStatus(pid)); |