diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2025-06-14 03:49:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-14 03:49:47 -0500 |
| commit | 2047eaf1d86839b53bb92cf79cfae8be2a568ed6 (patch) | |
| tree | b6dd8deb5f1bf6d110d71a73521a241d37c577b1 /Source/UnitTests/Common/FlagTest.cpp | |
| parent | 95f6c76713e6c2a6b50f1a149a7886e72fea6ec7 (diff) | |
| parent | ca8f9b672b3d8da3e2974802e89f6c6b6e23d99e (diff) | |
Merge pull request #13671 from tygyh/Source/Remove-redundant-lambda-parameter-lists
Source: Remove redundant lambda parameter lists
Diffstat (limited to 'Source/UnitTests/Common/FlagTest.cpp')
| -rw-r--r-- | Source/UnitTests/Common/FlagTest.cpp | 6 |
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. |
