From a1ddf2d0ba6268e29a9456948828f59d044791f1 Mon Sep 17 00:00:00 2001 From: Regina Pfeifer Date: Wed, 4 Sep 2019 18:03:01 +0200 Subject: clang-tidy: Replace typedef with using Automate the conversion with perl -i -0pe 's/typedef ([^;]*) ([^ ]+);/using $2 = $1;/g' then manually fix a few places. --- Source/cmPropertyMap.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/cmPropertyMap.cxx') diff --git a/Source/cmPropertyMap.cxx b/Source/cmPropertyMap.cxx index 3ed4c057c0..a3d49460b3 100644 --- a/Source/cmPropertyMap.cxx +++ b/Source/cmPropertyMap.cxx @@ -66,7 +66,7 @@ std::vector cmPropertyMap::GetKeys() const std::vector> cmPropertyMap::GetList() const { - typedef std::pair StringPair; + using StringPair = std::pair; std::vector kvList; kvList.reserve(Map_.size()); for (auto const& item : Map_) { -- cgit v1.2.1