mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
CClient::removeGUI(): This function should be declared 'const'
This commit is contained in:
parent
9e1629fb40
commit
e4db6f2af8
@ -698,7 +698,7 @@ void CClient::reinitScripting()
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void CClient::removeGUI()
|
void CClient::removeGUI() const
|
||||||
{
|
{
|
||||||
// CClient::endGame
|
// CClient::endGame
|
||||||
GH.curInt = nullptr;
|
GH.curInt = nullptr;
|
||||||
|
@ -216,7 +216,7 @@ public:
|
|||||||
|
|
||||||
void showInfoDialog(InfoWindow * iw) override {};
|
void showInfoDialog(InfoWindow * iw) override {};
|
||||||
void showInfoDialog(const std::string & msg, PlayerColor player) override {};
|
void showInfoDialog(const std::string & msg, PlayerColor player) override {};
|
||||||
void removeGUI();
|
void removeGUI() const;
|
||||||
|
|
||||||
#if SCRIPTING_ENABLED
|
#if SCRIPTING_ENABLED
|
||||||
scripting::Pool * getGlobalContextPool() const override;
|
scripting::Pool * getGlobalContextPool() const override;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user