diff options
author | Brad King <brad.king@kitware.com> | 2019-09-06 16:37:55 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-09-06 16:38:04 (GMT) |
commit | ca8c3d64c8accebeacf322f0574494ffddb039c5 (patch) | |
tree | 8e5ef52b55ceb4920e7e063cf91b15487915643a /Source/cmQtAutoMocUic.h | |
parent | 45e90f62dd422a93b14b5ed9d49d26a51116d4fd (diff) | |
parent | 1d3f5ebb0d3da35d1b5b1287f39115b188ac5f6a (diff) | |
download | CMake-ca8c3d64c8accebeacf322f0574494ffddb039c5.zip CMake-ca8c3d64c8accebeacf322f0574494ffddb039c5.tar.gz CMake-ca8c3d64c8accebeacf322f0574494ffddb039c5.tar.bz2 |
Merge topic 'use-using'
1d3f5ebb0d clang-tidy: Enable check modernize-use-using
a1ddf2d0ba clang-tidy: Replace typedef with using
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3782
Diffstat (limited to 'Source/cmQtAutoMocUic.h')
-rw-r--r-- | Source/cmQtAutoMocUic.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmQtAutoMocUic.h b/Source/cmQtAutoMocUic.h index 076e460..549b088 100644 --- a/Source/cmQtAutoMocUic.h +++ b/Source/cmQtAutoMocUic.h @@ -107,7 +107,7 @@ public: } Uic; }; using FileHandleT = std::shared_ptr<FileT>; - typedef std::pair<FileHandleT, bool> GetOrInsertT; + using GetOrInsertT = std::pair<FileHandleT, bool>; public: ParseCacheT(); @@ -147,7 +147,7 @@ public: bool Uic = false; }; using SourceFileHandleT = std::shared_ptr<SourceFileT>; - typedef std::map<std::string, SourceFileHandleT> SourceFileMapT; + using SourceFileMapT = std::map<std::string, SourceFileHandleT>; /** * Meta compiler file mapping information @@ -160,7 +160,7 @@ public: std::vector<SourceFileHandleT> IncluderFiles; }; using MappingHandleT = std::shared_ptr<MappingT>; - typedef std::map<std::string, MappingHandleT> MappingMapT; + using MappingMapT = std::map<std::string, MappingHandleT>; /** * Common settings |