mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
Profiler: Make everything east-const :^)
This commit is contained in:
parent
cf8427b7b4
commit
ddccf451a9
16 changed files with 68 additions and 68 deletions
|
@ -19,12 +19,12 @@ SignpostsModel::~SignpostsModel()
|
|||
{
|
||||
}
|
||||
|
||||
int SignpostsModel::row_count(const GUI::ModelIndex&) const
|
||||
int SignpostsModel::row_count(GUI::ModelIndex const&) const
|
||||
{
|
||||
return m_profile.filtered_signpost_indices().size();
|
||||
}
|
||||
|
||||
int SignpostsModel::column_count(const GUI::ModelIndex&) const
|
||||
int SignpostsModel::column_count(GUI::ModelIndex const&) const
|
||||
{
|
||||
return Column::__Count;
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ String SignpostsModel::column_name(int column) const
|
|||
}
|
||||
}
|
||||
|
||||
GUI::Variant SignpostsModel::data(const GUI::ModelIndex& index, GUI::ModelRole role) const
|
||||
GUI::Variant SignpostsModel::data(GUI::ModelIndex const& index, GUI::ModelRole role) const
|
||||
{
|
||||
u32 event_index = m_profile.filtered_signpost_indices()[index.row()];
|
||||
auto const& event = m_profile.events().at(event_index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue