From a4471ec5b140a607800c53575af5f4fbb9dda330 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 14 May 2022 16:26:30 +0200 Subject: [PATCH] Fixes for Arbutils changes --- src/Battling/ScriptHandling/BattleScript.hpp | 2 +- src/Battling/ScriptHandling/ScriptResolver.hpp | 2 +- src/Library/Items/Item.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Battling/ScriptHandling/BattleScript.hpp b/src/Battling/ScriptHandling/BattleScript.hpp index df448c0..8051872 100644 --- a/src/Battling/ScriptHandling/BattleScript.hpp +++ b/src/Battling/ScriptHandling/BattleScript.hpp @@ -24,7 +24,7 @@ namespace CreatureLib::Battling { public: BattleScript(const ArbUt::OptionalBorrowedPtr& owner) { _owner = owner; }; - NO_COPY_OR_MOVE(BattleScript) + NO_COPY_OR_MOVE(BattleScript); inline ArbUt::OptionalBorrowedPtr GetOwner() const noexcept { return _owner; } inline bool IsSuppressed() const noexcept { return _suppressed > 0; } diff --git a/src/Battling/ScriptHandling/ScriptResolver.hpp b/src/Battling/ScriptHandling/ScriptResolver.hpp index c862577..1695737 100644 --- a/src/Battling/ScriptHandling/ScriptResolver.hpp +++ b/src/Battling/ScriptHandling/ScriptResolver.hpp @@ -13,7 +13,7 @@ namespace CreatureLib::Battling { class ScriptResolver { public: ScriptResolver() {} - NO_COPY_OR_MOVE(ScriptResolver) + NO_COPY_OR_MOVE(ScriptResolver); virtual ~ScriptResolver() = default; diff --git a/src/Library/Items/Item.hpp b/src/Library/Items/Item.hpp index 5608ac1..c134e14 100644 --- a/src/Library/Items/Item.hpp +++ b/src/Library/Items/Item.hpp @@ -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& flags) noexcept; - NO_COPY_OR_MOVE(Item) + NO_COPY_OR_MOVE(Item); virtual ~Item();