diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2021-09-12 08:54:16 -0700 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-09-12 17:24:44 +0000 |
commit | 9a1181f748c189470bc21dc74224eb0f72798df6 (patch) | |
tree | 61dbbfe7a3cfd8edff748ceebb609be0d67b9986 /Userland | |
parent | 6c0329c806419e8233f242034f6c45aa5eeb4de8 (diff) | |
download | serenity-9a1181f748c189470bc21dc74224eb0f72798df6.zip |
Assistant: Use ElapsedTimer::start_new()
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Applications/Assistant/Providers.cpp | 3 |
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(); |