diff options
author | Brad King <brad.king@kitware.com> | 2019-09-04 12:52:32 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-09-04 12:52:45 (GMT) |
commit | 7b50b05aa9f162388fc9f57899baffdafad7d4af (patch) | |
tree | 3a2f4776378fdc1cb09bdc78a4f145b03675b85a /Source/cmWorkerPool.cxx | |
parent | efbd50383386c00cde63a7b67672b8487b00980f (diff) | |
parent | 62e5f722899cfa7c51791be7697c9030aee3a19b (diff) | |
download | CMake-7b50b05aa9f162388fc9f57899baffdafad7d4af.zip CMake-7b50b05aa9f162388fc9f57899baffdafad7d4af.tar.gz CMake-7b50b05aa9f162388fc9f57899baffdafad7d4af.tar.bz2 |
Merge topic 'tidy-use-using'
62e5f72289 clang-tidy: Replace typedef with using
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3731
Diffstat (limited to 'Source/cmWorkerPool.cxx')
-rw-r--r-- | Source/cmWorkerPool.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmWorkerPool.cxx b/Source/cmWorkerPool.cxx index baf326a..2e4d00b 100644 --- a/Source/cmWorkerPool.cxx +++ b/Source/cmWorkerPool.cxx @@ -25,10 +25,10 @@ class cmUVPipeBuffer { public: - typedef cmRange<char const*> DataRange; - typedef std::function<void(DataRange)> DataFunction; + using DataRange = cmRange<const char*>; + using DataFunction = std::function<void(DataRange)>; /// On error the ssize_t argument is a non zero libuv error code - typedef std::function<void(ssize_t)> EndFunction; + using EndFunction = std::function<void(ssize_t)>; public: /** |