mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 02:26:10 +00:00
Profiler: Remove one else-after-return
This commit is contained in:
parent
e727605007
commit
e3469391d3
Notes:
sideshowbarker
2024-07-17 22:19:56 +09:00
Author: https://github.com/Hendiadyoin1
Commit: e3469391d3
Pull-request: https://github.com/SerenityOS/serenity/pull/11374
1 changed files with 2 additions and 2 deletions
|
@ -423,8 +423,8 @@ ErrorOr<NonnullOwnPtr<Profile>> Profile::load_from_perfcore_file(StringView path
|
||||||
quick_sort(all_processes, [](auto& a, auto& b) {
|
quick_sort(all_processes, [](auto& a, auto& b) {
|
||||||
if (a.pid == b.pid)
|
if (a.pid == b.pid)
|
||||||
return a.start_valid < b.start_valid;
|
return a.start_valid < b.start_valid;
|
||||||
else
|
|
||||||
return a.pid < b.pid;
|
return a.pid < b.pid;
|
||||||
});
|
});
|
||||||
|
|
||||||
Vector<Process> processes;
|
Vector<Process> processes;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue