mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:27:43 +00:00
Profiler: Add some implied auto qualifiers
This commit is contained in:
parent
d001f8ba70
commit
39a4c0e6ce
11 changed files with 40 additions and 40 deletions
|
@ -96,9 +96,9 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
timeline_header_container->set_shrink_to_fit(true);
|
||||
|
||||
auto timeline_view = TRY(TimelineView::try_create(*profile));
|
||||
for (auto& process : profile->processes()) {
|
||||
for (auto const& process : profile->processes()) {
|
||||
bool matching_event_found = false;
|
||||
for (auto& event : profile->events()) {
|
||||
for (auto const& event : profile->events()) {
|
||||
if (event.pid == process.pid && process.valid_at(event.serial)) {
|
||||
matching_event_found = true;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue