From 424036489b44ffefa335befca3dd729b50590f61 Mon Sep 17 00:00:00 2001 From: Ruben Dashyan Date: Wed, 4 Sep 2019 11:43:42 +0200 Subject: [PATCH] [escher/selectable_table_view_data_source] Mark getters as const --- escher/include/escher/selectable_table_view_data_source.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/escher/include/escher/selectable_table_view_data_source.h b/escher/include/escher/selectable_table_view_data_source.h index f89cd1127..6d2bea1aa 100644 --- a/escher/include/escher/selectable_table_view_data_source.h +++ b/escher/include/escher/selectable_table_view_data_source.h @@ -10,8 +10,8 @@ public: m_selectedCellY(-1) { } - int selectedRow() { return m_selectedCellY; } - int selectedColumn() { return m_selectedCellX; } + int selectedRow() const { return m_selectedCellY; } + int selectedColumn() const { return m_selectedCellX; } void selectRow(int j) { m_selectedCellY = j; } void selectColumn(int i) { m_selectedCellX = i; } void selectCellAtLocation(int i, int j) {