Escher: const-correctness for View

Change-Id: I78efaeff9911413716e669b92affa7ae4f388776
This commit is contained in:
Romain Goyet
2016-05-26 18:34:18 +02:00
parent 095901a7ca
commit 5f2f39d0d9
16 changed files with 39 additions and 39 deletions

View File

@@ -33,11 +33,11 @@ void TabViewController::ContentView::layoutSubviews() {
}
}
int TabViewController::ContentView::numberOfSubviews() {
int TabViewController::ContentView::numberOfSubviews() const {
return 2;
}
View * TabViewController::ContentView::subview(int index) {
const View * TabViewController::ContentView::subview(int index) const {
if (index == 0) {
return &m_tabView;
} else {