mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27:45 +00:00
Profiler: Remove one else-after-return
This commit is contained in:
parent
e727605007
commit
e3469391d3
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) {
|
||||
if (a.pid == b.pid)
|
||||
return a.start_valid < b.start_valid;
|
||||
else
|
||||
return a.pid < b.pid;
|
||||
|
||||
return a.pid < b.pid;
|
||||
});
|
||||
|
||||
Vector<Process> processes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue