mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-18 23:11:48 +00:00
UnitTests: Use constexpr
This commit is contained in:
parent
89873d6238
commit
947bdea590
6 changed files with 16 additions and 16 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue