From c7ded068d9c93c13fa440f2dabe90d64f8307afc Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 11 Aug 2018 15:34:42 +0200 Subject: [PATCH] Fixed: Compilation (reverted back some changes) --HG-- branch : develop --- code/ryzom/server/src/ai_service/event_reaction.h | 2 +- code/ryzom/server/src/ai_service/event_reaction_include.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/server/src/ai_service/event_reaction.h b/code/ryzom/server/src/ai_service/event_reaction.h index 57dcf22d0..31689f613 100644 --- a/code/ryzom/server/src/ai_service/event_reaction.h +++ b/code/ryzom/server/src/ai_service/event_reaction.h @@ -90,7 +90,7 @@ public: // the following routine shouldn't be needed it should be superceded by a better alternative // in the event manager template - bool testCompatibility(const CStateInstance *stateInstance, const TState *state) const + bool testCompatibility(CStateInstance *const stateInstance, const TState *const state) const; protected: // protected data --------------------------------------------------- diff --git a/code/ryzom/server/src/ai_service/event_reaction_include.h b/code/ryzom/server/src/ai_service/event_reaction_include.h index 04fd2c16f..3c44b03dc 100644 --- a/code/ryzom/server/src/ai_service/event_reaction_include.h +++ b/code/ryzom/server/src/ai_service/event_reaction_include.h @@ -28,7 +28,7 @@ #include "continent.h"*/ template -bool CAIEventReaction::testCompatibility(const CStateInstance *stateInstance, const TState *state) const +bool CAIEventReaction::testCompatibility(CStateInstance *const stateInstance, const TState *const state) const { if (!stateInstance) return false;