mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-29 19:49:58 +02:00
[coding style] Make some methods const
This commit is contained in:
@@ -49,7 +49,7 @@ bool LanguageController::handleEvent(Ion::Events::Event event) {
|
||||
return false;
|
||||
}
|
||||
|
||||
int LanguageController::numberOfRows() {
|
||||
int LanguageController::numberOfRows() const {
|
||||
return I18n::NumberOfLanguages;
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ HighlightCell * LanguageController::reusableCell(int index) {
|
||||
return &m_cells[index];
|
||||
}
|
||||
|
||||
int LanguageController::reusableCellCount() {
|
||||
int LanguageController::reusableCellCount() const {
|
||||
return I18n::NumberOfLanguages;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user