1
0
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:
Alexander Wilms 2023-10-28 17:09:07 +00:00
parent 9e1629fb40
commit e4db6f2af8
2 changed files with 2 additions and 2 deletions

View File

@ -698,7 +698,7 @@ void CClient::reinitScripting()
#endif
}
void CClient::removeGUI()
void CClient::removeGUI() const
{
// CClient::endGame
GH.curInt = nullptr;

View File

@ -216,7 +216,7 @@ public:
void showInfoDialog(InfoWindow * iw) override {};
void showInfoDialog(const std::string & msg, PlayerColor player) override {};
void removeGUI();
void removeGUI() const;
#if SCRIPTING_ENABLED
scripting::Pool * getGlobalContextPool() const override;