Assistant: Use ElapsedTimer::start_new()

This commit is contained in:
Brian Gianforcaro 2021-09-12 08:54:16 -07:00 committed by Brian Gianforcaro
parent 6c0329c806
commit 9a1181f748
Notes: sideshowbarker 2024-07-18 04:06:37 +09:00

View file

@ -166,8 +166,7 @@ void FileProvider::build_filesystem_cache()
Threading::BackgroundAction<int>::create(
[this](auto&) {
String slash = "/";
Core::ElapsedTimer timer;
timer.start();
auto timer = Core::ElapsedTimer::start_new();
while (!m_work_queue.is_empty()) {
auto base_directory = m_work_queue.dequeue();