UnitTests: Use constexpr

This commit is contained in:
Dr. Dystopia 2025-04-23 07:24:48 +02:00
parent 89873d6238
commit 947bdea590
6 changed files with 16 additions and 16 deletions

View file

@ -12,7 +12,7 @@ TEST(Event, MultiThreaded)
{
Event has_sent, can_send;
int shared_obj;
const int ITERATIONS_COUNT = 100000;
constexpr int ITERATIONS_COUNT = 100000;
auto sender = [&]() {
for (int i = 0; i < ITERATIONS_COUNT; ++i)