mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Assistant: Use ElapsedTimer::start_new()
This commit is contained in:
parent
6c0329c806
commit
9a1181f748
Notes:
sideshowbarker
2024-07-18 04:06:37 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/9a1181f748c Pull-request: https://github.com/SerenityOS/serenity/pull/9999 Reviewed-by: https://github.com/awesomekling ✅
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue