1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:17:35 +00:00

Profiler: Remove one else-after-return

This commit is contained in:
Hendiadyoin1 2021-12-22 16:43:43 +01:00 committed by Brian Gianforcaro
parent e727605007
commit e3469391d3

View file

@ -423,7 +423,7 @@ 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;
}); });