Remove const qualification of ScriptResolver.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
25f65eb47b
commit
90e7a699bc
|
@ -15,7 +15,7 @@ namespace CreatureLib::Battling {
|
||||||
std::unique_ptr<const BattleStatCalculator> _statCalculator = nullptr;
|
std::unique_ptr<const BattleStatCalculator> _statCalculator = nullptr;
|
||||||
std::unique_ptr<const DamageLibrary> _damageLibrary = nullptr;
|
std::unique_ptr<const DamageLibrary> _damageLibrary = nullptr;
|
||||||
std::unique_ptr<const ExperienceLibrary> _experienceLibrary = nullptr;
|
std::unique_ptr<const ExperienceLibrary> _experienceLibrary = nullptr;
|
||||||
std::unique_ptr<const ScriptResolver> _scriptResolver = nullptr;
|
std::unique_ptr<ScriptResolver> _scriptResolver = nullptr;
|
||||||
std::unique_ptr<const MiscLibrary> _miscLibrary = nullptr;
|
std::unique_ptr<const MiscLibrary> _miscLibrary = nullptr;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -14,7 +14,7 @@ namespace CreatureLib::Battling {
|
||||||
virtual ~ScriptResolver() = default;
|
virtual ~ScriptResolver() = default;
|
||||||
|
|
||||||
virtual void Initialize(BattleLibrary* library){};
|
virtual void Initialize(BattleLibrary* library){};
|
||||||
virtual Script* LoadScript(ScriptCategory category, const ArbUt::CaseInsensitiveConstString& scriptName) const {
|
virtual Script* LoadScript(ScriptCategory category, const ArbUt::CaseInsensitiveConstString& scriptName) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue