summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/FlagTest.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/FlagTest.cpp
parent95f6c76713e6c2a6b50f1a149a7886e72fea6ec7 (diff)
Source: Remove redundant lambda parameter lists
Diffstat (limited to 'Source/UnitTests/Common/FlagTest.cpp')
-rw-r--r--Source/UnitTests/Common/FlagTest.cpp6
1 files changed, 3 insertions, 3 deletions
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.