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

This commit is contained in:
Deukhoofd committed 2022-05-14 16:26:30 +02:00
1 parent de6d39376f
commit a4471ec5b1
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ namespace CreatureLib::Battling {
public:
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 bool IsSuppressed() const noexcept { return _suppressed > 0; }
@@ -13,7 +13,7 @@ namespace CreatureLib::Battling {
class ScriptResolver {
public:
ScriptResolver() {}
NO_COPY_OR_MOVE(ScriptResolver)
NO_COPY_OR_MOVE(ScriptResolver);
virtual ~ScriptResolver() = default;
+1 -1
View File
@@ -18,7 +18,7 @@ namespace CreatureLib::Library {
Item(const ArbUt::StringView& name, ItemCategory category, BattleItemCategory battleCategory, i32 price,
const SecondaryEffect* nullable effect, const SecondaryEffect* nullable battleTriggerEffect,
const std::unordered_set<u32>& flags) noexcept;
NO_COPY_OR_MOVE(Item)
NO_COPY_OR_MOVE(Item);
virtual ~Item();