summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetGenerator.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-08-23 21:25:56 (GMT)
committerBrad King <brad.king@kitware.com>2019-09-03 17:21:26 (GMT)
commit62e5f722899cfa7c51791be7697c9030aee3a19b (patch)
treeafbde974693e3473db968a5b4a50fe9126e71d14 /Source/cmInstallTargetGenerator.h
parent711e1c3ada26d952fa6360e671379b7bf1be2f17 (diff)
downloadCMake-62e5f722899cfa7c51791be7697c9030aee3a19b.zip
CMake-62e5f722899cfa7c51791be7697c9030aee3a19b.tar.gz
CMake-62e5f722899cfa7c51791be7697c9030aee3a19b.tar.bz2
clang-tidy: Replace typedef with using
Diffstat (limited to 'Source/cmInstallTargetGenerator.h')
-rw-r--r--Source/cmInstallTargetGenerator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmInstallTargetGenerator.h b/Source/cmInstallTargetGenerator.h
index 9ccad63..3097bec 100644
--- a/Source/cmInstallTargetGenerator.h
+++ b/Source/cmInstallTargetGenerator.h
@@ -74,9 +74,9 @@ protected:
void GenerateScriptForConfigObjectLibrary(std::ostream& os,
const std::string& config,
Indent indent);
- typedef void (cmInstallTargetGenerator::*TweakMethod)(std::ostream&, Indent,
- const std::string&,
- std::string const&);
+ using TweakMethod = void (cmInstallTargetGenerator::*)(std::ostream&, Indent,
+ const std::string&,
+ const std::string&);
void AddTweak(std::ostream& os, Indent indent, const std::string& config,
std::string const& file, TweakMethod tweak);
void AddTweak(std::ostream& os, Indent indent, const std::string& config,