summaryrefslogtreecommitdiffstats
path: root/Source/cmRange.h
diff options
context:
space:
mode:
authorKitware Robot <kwrobot@kitware.com>2023-01-18 17:46:53 (GMT)
committerBrad King <brad.king@kitware.com>2023-01-18 21:20:47 (GMT)
commit33abef7416401b7db9f5f68cee447b4246310e72 (patch)
tree4639cca017838624bfb38c9d82eb34266a28b0c8 /Source/cmRange.h
parent57221fd56f77d32703aadada435d9a8f0dc3fb6c (diff)
downloadCMake-33abef7416401b7db9f5f68cee447b4246310e72.zip
CMake-33abef7416401b7db9f5f68cee447b4246310e72.tar.gz
CMake-33abef7416401b7db9f5f68cee447b4246310e72.tar.bz2
Revise C++ coding style using clang-format-15
Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 15. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit. Fixes: #24315
Diffstat (limited to 'Source/cmRange.h')
-rw-r--r--Source/cmRange.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmRange.h b/Source/cmRange.h
index 30af7d2..85cb8ea 100644
--- a/Source/cmRange.h
+++ b/Source/cmRange.h
@@ -76,9 +76,9 @@ class TransformIterator
{
public:
using iterator_category = std::bidirectional_iterator_tag;
- using value_type =
- typename std::remove_cv<typename std::remove_reference<decltype(
- std::declval<UnaryFunction>()(*std::declval<Iter>()))>::type>::type;
+ using value_type = typename std::remove_cv<
+ typename std::remove_reference<decltype(std::declval<UnaryFunction>()(
+ *std::declval<Iter>()))>::type>::type;
using difference_type = typename std::iterator_traits<Iter>::difference_type;
using pointer = value_type const*;
using reference = value_type const&;