From 6a6d4ad153a419c4c970a20f09bf07637035a025 Mon Sep 17 00:00:00 2001 From: Edward Nolan Date: Mon, 27 Apr 2026 19:58:45 -0400 Subject: [PATCH] Fix clang-format b256d88759ff581c0ead43779d36dd47eadf871 uepdated the clang-format version and configuration but did not re-run clang-format, breaking the CI check on master. This commit addresses the issue by checking in the results of a clang-format run. --- .../beman/copyable_function/copyable_function_impl.hpp | 10 +++++----- tests/beman/copyable_function/call.test.cpp | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/beman/copyable_function/copyable_function_impl.hpp b/include/beman/copyable_function/copyable_function_impl.hpp index 14e2c61..1151185 100644 --- a/include/beman/copyable_function/copyable_function_impl.hpp +++ b/include/beman/copyable_function/copyable_function_impl.hpp @@ -7,20 +7,20 @@ #include "copyable_function_helper.h" #ifndef _CONST -#define _CONST + #define _CONST #endif #ifndef _REF -#define _REF -#define INVOKE_QUALS _CONST& + #define _REF + #define INVOKE_QUALS _CONST& #else -#define INVOKE_QUALS _CONST _REF + #define INVOKE_QUALS _CONST _REF #endif #ifndef _COPYABLE_FUNC_NOEXCEPT -#define _COPYABLE_FUNC_NOEXCEPT false + #define _COPYABLE_FUNC_NOEXCEPT false #endif namespace beman { diff --git a/tests/beman/copyable_function/call.test.cpp b/tests/beman/copyable_function/call.test.cpp index 520755a..94a3bf6 100644 --- a/tests/beman/copyable_function/call.test.cpp +++ b/tests/beman/copyable_function/call.test.cpp @@ -60,13 +60,13 @@ TEST(CallTest, CallTestUsingRvalueReference) { TEST(CallTest, CallTestWithLvalueRef) { { - beman::copyable_function f(Callable{}); - int x = f(); + beman::copyable_function f(Callable{}); + int x = f(); EXPECT_EQ(x, 42); } { - beman::copyable_function f(LargeCallable{}); - int x = f(); + beman::copyable_function f(LargeCallable{}); + int x = f(); EXPECT_EQ(x, 1); } }