[libcxx-commits] [libcxx] [libc++] Fix minor formatting error in test/support/counting_projection.h (PR #72480)
Will Hawkins via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Nov 15 22:18:39 PST 2023
https://github.com/hawkinsw created https://github.com/llvm/llvm-project/pull/72480
Causing CI/CD to fail.
>From 663438b38f00e031361492d779fa5dd0284cd0de Mon Sep 17 00:00:00 2001
From: Will Hawkins <hawkinsw at obs.cr>
Date: Thu, 16 Nov 2023 01:16:30 -0500
Subject: [PATCH] [libc++] Fix minor formatting error in
test/support/counting_projection.h
Causing CI/CD to fail.
---
libcxx/test/support/counting_projection.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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