From ca8f9b672b3d8da3e2974802e89f6c6b6e23d99e Mon Sep 17 00:00:00 2001 From: "Dr. Dystopia" Date: Mon, 28 Apr 2025 22:02:56 +0200 Subject: Source: Remove redundant lambda parameter lists --- Source/UnitTests/Common/FlagTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/UnitTests/Common/FlagTest.cpp') diff --git a/Source/UnitTests/Common/FlagTest.cpp b/Source/UnitTests/Common/FlagTest.cpp index 23aba5f60d..ccd8b00055 100644 --- a/Source/UnitTests/Common/FlagTest.cpp +++ b/Source/UnitTests/Common/FlagTest.cpp @@ -36,7 +36,7 @@ TEST(Flag, MultiThreaded) int count = 0; constexpr int ITERATIONS_COUNT = 100000; - auto setter = [&]() { + auto setter = [&] { for (int i = 0; i < ITERATIONS_COUNT; ++i) { while (f.IsSet()) @@ -45,7 +45,7 @@ TEST(Flag, MultiThreaded) } }; - auto clearer = [&]() { + auto clearer = [&] { for (int i = 0; i < ITERATIONS_COUNT; ++i) { while (!f.IsSet()) @@ -72,7 +72,7 @@ TEST(Flag, SpinLock) constexpr int ITERATIONS_COUNT = 5000; constexpr int THREADS_COUNT = 50; - auto adder_func = [&]() { + auto adder_func = [&] { for (int i = 0; i < ITERATIONS_COUNT; ++i) { // Acquire the spinlock. -- cgit v1.2.3