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