diff --git a/src/xenia/base/testing/threading_test.cc b/src/xenia/base/testing/threading_test.cc index ba6eda0db..e15fcc3a2 100644 --- a/src/xenia/base/testing/threading_test.cc +++ b/src/xenia/base/testing/threading_test.cc @@ -154,7 +154,7 @@ TEST_CASE("HighResolutionTimer") { // Time the actual sleep duration { const auto interval = 50ms; - std::atomic counter; + std::atomic counter(0); auto start = std::chrono::steady_clock::now(); auto cb = [&counter] { ++counter; }; auto pTimer = HighResolutionTimer::CreateRepeating(interval, cb);