[libcxx-commits] [libcxx] b57abb7 - [libc++] Fix minor formatting error in test/support/counting_projection.h (#72480)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Nov 16 03:08:23 PST 2023
Author: Will Hawkins
Date: 2023-11-16T12:08:19+01:00
New Revision: b57abb721e7a77210fc86d08192a772d21fd0ac2
URL: https://github.com/llvm/llvm-project/commit/b57abb721e7a77210fc86d08192a772d21fd0ac2
DIFF: https://github.com/llvm/llvm-project/commit/b57abb721e7a77210fc86d08192a772d21fd0ac2.diff
LOG: [libc++] Fix minor formatting error in test/support/counting_projection.h (#72480)
Causing CI/CD to fail.
Added:
Modified:
libcxx/test/support/counting_projection.h
Removed:
################################################################################
diff --git a/libcxx/test/support/counting_projection.h b/libcxx/test/support/counting_projection.h
index ad549c749ae42b7..1af2c80f244d85e 100644
--- a/libcxx/test/support/counting_projection.h
+++ b/libcxx/test/support/counting_projection.h
@@ -26,7 +26,7 @@ class counting_projection {
constexpr counting_projection(Proj proj, int& count) : proj_(std::move(proj)), count_(&count) {}
template <class T>
- constexpr decltype(auto) operator()(T && value) const {
+ constexpr decltype(auto) operator()(T&& value) const {
++(*count_);
return std::invoke(proj_, std::forward<T>(value));
}
More information about the libcxx-commits
mailing list