Userland: Fix remaining smart pointer const-correctness issues

This commit is contained in:
Andreas Kling 2023-02-20 19:03:59 +01:00
commit 33e87d1627
Notes: sideshowbarker 2024-07-17 22:09:47 +09:00
17 changed files with 23 additions and 23 deletions

View file

@ -149,7 +149,7 @@ GUI::ModelIndex ManualModel::parent_index(const GUI::ModelIndex& index) const
return {};
auto children = maybe_children.release_value();
for (size_t row = 0; row < children.size(); row++) {
Manual::Node* child_at_row = children[row];
Manual::Node const* child_at_row = children[row];
if (child_at_row == parent)
return create_index(row, 0, parent);
}