mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:32:45 +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
				
			
		|  | @ -21,12 +21,12 @@ SamplesModel::~SamplesModel() | |||
| { | ||||
| } | ||||
| 
 | ||||
| int SamplesModel::row_count(const GUI::ModelIndex&) const | ||||
| int SamplesModel::row_count(GUI::ModelIndex const&) const | ||||
| { | ||||
|     return m_profile.filtered_event_indices().size(); | ||||
| } | ||||
| 
 | ||||
| int SamplesModel::column_count(const GUI::ModelIndex&) const | ||||
| int SamplesModel::column_count(GUI::ModelIndex const&) const | ||||
| { | ||||
|     return Column::__Count; | ||||
| } | ||||
|  | @ -53,7 +53,7 @@ String SamplesModel::column_name(int column) const | |||
|     } | ||||
| } | ||||
| 
 | ||||
| GUI::Variant SamplesModel::data(const GUI::ModelIndex& index, GUI::ModelRole role) const | ||||
| GUI::Variant SamplesModel::data(GUI::ModelIndex const& index, GUI::ModelRole role) const | ||||
| { | ||||
|     u32 event_index = m_profile.filtered_event_indices()[index.row()]; | ||||
|     auto const& event = m_profile.events().at(event_index); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Stephan Unverwerth
						Stephan Unverwerth