Fixes for Arbutils changes
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2022-05-14 16:26:30 +02:00
parent de6d39376f
commit a4471ec5b1
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ namespace CreatureLib::Battling {
public: public:
BattleScript(const ArbUt::OptionalBorrowedPtr<void>& owner) { _owner = owner; }; BattleScript(const ArbUt::OptionalBorrowedPtr<void>& owner) { _owner = owner; };
NO_COPY_OR_MOVE(BattleScript) NO_COPY_OR_MOVE(BattleScript);
inline ArbUt::OptionalBorrowedPtr<void> GetOwner() const noexcept { return _owner; } inline ArbUt::OptionalBorrowedPtr<void> GetOwner() const noexcept { return _owner; }
inline bool IsSuppressed() const noexcept { return _suppressed > 0; } inline bool IsSuppressed() const noexcept { return _suppressed > 0; }

View File

@ -13,7 +13,7 @@ namespace CreatureLib::Battling {
class ScriptResolver { class ScriptResolver {
public: public:
ScriptResolver() {} ScriptResolver() {}
NO_COPY_OR_MOVE(ScriptResolver) NO_COPY_OR_MOVE(ScriptResolver);
virtual ~ScriptResolver() = default; virtual ~ScriptResolver() = default;

View File

@ -18,7 +18,7 @@ namespace CreatureLib::Library {
Item(const ArbUt::StringView& name, ItemCategory category, BattleItemCategory battleCategory, i32 price, Item(const ArbUt::StringView& name, ItemCategory category, BattleItemCategory battleCategory, i32 price,
const SecondaryEffect* nullable effect, const SecondaryEffect* nullable battleTriggerEffect, const SecondaryEffect* nullable effect, const SecondaryEffect* nullable battleTriggerEffect,
const std::unordered_set<u32>& flags) noexcept; const std::unordered_set<u32>& flags) noexcept;
NO_COPY_OR_MOVE(Item) NO_COPY_OR_MOVE(Item);
virtual ~Item(); virtual ~Item();