From 43a6986ebfb4e8796b7be3ef07afac90712416e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Zieli=C5=84ski?= Date: Tue, 6 Sep 2022 19:17:38 +0200 Subject: [PATCH] fix warning --- lib/mapObjects/CGTownInstance.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mapObjects/CGTownInstance.h b/lib/mapObjects/CGTownInstance.h index ae59d80d2..088ca5183 100644 --- a/lib/mapObjects/CGTownInstance.h +++ b/lib/mapObjects/CGTownInstance.h @@ -342,7 +342,7 @@ public: std::string getObjectName() const override; void afterAddToMap(CMap * map) override; - void afterRemoveFromMap(CMap* map); + void afterRemoveFromMap(CMap* map) override; static void reset(); inline bool isBattleOutsideTown(const CGHeroInstance * defendingHero) const