summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Applications/Assistant/Providers.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Applications/Assistant/Providers.cpp b/Userland/Applications/Assistant/Providers.cpp
index 215408f377..c7f695bdc2 100644
--- a/Userland/Applications/Assistant/Providers.cpp
+++ b/Userland/Applications/Assistant/Providers.cpp
@@ -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();