summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/BlockingLoopTest.cpp
diff options
context:
space:
mode:
authorDr. Dystopia <jonis9898@hotmail.com>2025-04-28 22:02:56 +0200
committerDr. Dystopia <jonis9898@hotmail.com>2025-06-14 10:19:31 +0200
commitca8f9b672b3d8da3e2974802e89f6c6b6e23d99e (patch)
treeb6dd8deb5f1bf6d110d71a73521a241d37c577b1 /Source/UnitTests/Common/BlockingLoopTest.cpp
parent95f6c76713e6c2a6b50f1a149a7886e72fea6ec7 (diff)
Source: Remove redundant lambda parameter lists
Diffstat (limited to 'Source/UnitTests/Common/BlockingLoopTest.cpp')
-rw-r--r--Source/UnitTests/Common/BlockingLoopTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/UnitTests/Common/BlockingLoopTest.cpp b/Source/UnitTests/Common/BlockingLoopTest.cpp
index 4d8856b94e..85e4aae415 100644
--- a/Source/UnitTests/Common/BlockingLoopTest.cpp
+++ b/Source/UnitTests/Common/BlockingLoopTest.cpp
@@ -24,8 +24,8 @@ TEST(BlockingLoop, MultiThreaded)
// Must not block as the loop is stopped.
loop.Wait();
- std::thread loop_thread([&]() {
- loop.Run([&]() {
+ std::thread loop_thread([&] {
+ loop.Run([&] {
received_a.store(signaled_a.load());
received_b.store(signaled_b.load());
});
@@ -39,7 +39,7 @@ TEST(BlockingLoop, MultiThreaded)
EXPECT_EQ(signaled_a.load(), received_a.load());
EXPECT_EQ(signaled_b.load(), received_b.load());
- std::thread run_a_thread([&]() {
+ std::thread run_a_thread([&] {
for (int j = 0; j < 100; j++)
{
for (int k = 0; k < 100; k++)
@@ -52,7 +52,7 @@ TEST(BlockingLoop, MultiThreaded)
EXPECT_EQ(signaled_a.load(), received_a.load());
}
});
- std::thread run_b_thread([&]() {
+ std::thread run_b_thread([&] {
for (int j = 0; j < 100; j++)
{
for (int k = 0; k < 100; k++)