mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
UnitTests: Use constexpr
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user