Skip to content

[libc++] Fix minor formatting error in test/support/counting_projection.h #72480

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

hawkinsw
Copy link
Contributor

Causing CI/CD to fail.

@hawkinsw hawkinsw requested a review from a team as a code owner November 16, 2023 06:18
@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Nov 16, 2023
@llvmbot
Copy link
Member

llvmbot commented Nov 16, 2023

@llvm/pr-subscribers-libcxx

Author: Will Hawkins (hawkinsw)

Changes

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

@philnik777 philnik777 merged commit b57abb7 into llvm:main Nov 16, 2023
sr-tream pushed a commit to sr-tream/llvm-project that referenced this pull request Nov 20, 2023
zahiraam pushed a commit to zahiraam/llvm-project that referenced this pull request Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants