mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-23 15:50:49 +01:00
Escher: const-correctness for View
Change-Id: I78efaeff9911413716e669b92affa7ae4f388776
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user