SharedState: Constify most getter methods

This commit is contained in:
Jonas Kulla 2014-08-12 20:33:40 +02:00
parent 18022bf809
commit 194f70c48c
2 changed files with 19 additions and 19 deletions

View file

@ -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;
}