From f928d608e104682d750b202ee9864744da2eec5a Mon Sep 17 00:00:00 2001 From: insunaa Date: Sun, 5 May 2024 14:42:36 +0200 Subject: [PATCH] Compiler: Fix various warnings --- src/game/AI/BaseAI/UnitAI.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/AI/BaseAI/UnitAI.h b/src/game/AI/BaseAI/UnitAI.h index 0778aad920..b66c702a39 100644 --- a/src/game/AI/BaseAI/UnitAI.h +++ b/src/game/AI/BaseAI/UnitAI.h @@ -631,7 +631,7 @@ struct CreatureAIFactory : public SelectableAI UnitAI* Create(void*) const override; - int Permit(const Creature* c) const { return REAL_AI::Permissible(c); } + int Permit(const Creature* c) const override { return REAL_AI::Permissible(c); } }; enum Permitions