Everywhere: Use east const in more places

These changes are compatible with clang-format 16 and will be mandatory
when we eventually bump clang-format version. So, since there are no
real downsides, let's commit them now.
This commit is contained in:
Dan Klishch
2024-04-18 15:32:56 -04:00
committed by Tim Flynn
parent 5ef6df79ed
commit 5ed7cd6e32
175 changed files with 353 additions and 353 deletions

View File

@@ -128,7 +128,7 @@ FindInFilesWidget::FindInFilesWidget()
m_result_view = add<GUI::TableView>();
m_result_view->on_activation = [](auto& index) {
auto& match = *(const Match*)index.internal_data();
auto& match = *(Match const*)index.internal_data();
open_file(match.filename);
current_editor().set_selection(match.range);
current_editor().set_focus(true);