[libcxx-commits] [libcxx] [libc++] Fix minor formatting error in test/support/counting_projection.h (PR #72480)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 15 22:19:08 PST 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: Will Hawkins (hawkinsw)

<details>
<summary>Changes</summary>

Causing CI/CD to fail.

---
Full diff: https://github.com/llvm/llvm-project/pull/72480.diff


1 Files Affected:

- (modified) libcxx/test/support/counting_projection.h (+1-1) 


``````````diff
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));
   }

``````````

</details>


https://github.com/llvm/llvm-project/pull/72480


More information about the libcxx-commits mailing list