SharedState: Constify most getter methods
This commit is contained in:
parent
18022bf809
commit
194f70c48c
2 changed files with 19 additions and 19 deletions
|
@ -208,7 +208,7 @@ void SharedState::setScreen(Scene &screen)
|
|||
}
|
||||
|
||||
#define GSATT(type, lower) \
|
||||
type SharedState :: lower() \
|
||||
type SharedState :: lower() const \
|
||||
{ \
|
||||
return p->lower; \
|
||||
}
|
||||
|
@ -330,7 +330,7 @@ void SharedState::checkShutdown()
|
|||
scriptBinding->terminate();
|
||||
}
|
||||
|
||||
Font &SharedState::defaultFont()
|
||||
Font &SharedState::defaultFont() const
|
||||
{
|
||||
return *p->defaultFont;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue