From 87bbae678a8262c077d6b35e5e25e8e83a3c8917 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sun, 13 Dec 2020 12:26:54 +0100 Subject: [PATCH] Style Fixes Signed-off-by: Deukhoofd --- src/Battling/Models/LearnedAttack.cpp | 6 ++---- src/Battling/TurnChoices/AttackTurnChoice.hpp | 4 +--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/Battling/Models/LearnedAttack.cpp b/src/Battling/Models/LearnedAttack.cpp index 6127bb0..ae129f6 100644 --- a/src/Battling/Models/LearnedAttack.cpp +++ b/src/Battling/Models/LearnedAttack.cpp @@ -3,13 +3,11 @@ CreatureLib::Battling::LearnedAttack::LearnedAttack( const ArbUt::BorrowedPtr& attack, uint8_t maxUses, AttackLearnMethod learnMethod) - : _attack(attack), _maxUses(maxUses), _remainingUses(maxUses), _learnMethod(learnMethod) { -} + : _attack(attack), _maxUses(maxUses), _remainingUses(maxUses), _learnMethod(learnMethod) {} CreatureLib::Battling::LearnedAttack::LearnedAttack( const ArbUt::BorrowedPtr& attack, AttackLearnMethod learnMethod) - : _attack(attack), _maxUses(attack->GetBaseUsages()), _remainingUses(_maxUses), _learnMethod(learnMethod) { -} + : _attack(attack), _maxUses(attack->GetBaseUsages()), _remainingUses(_maxUses), _learnMethod(learnMethod) {} const ArbUt::BorrowedPtr& CreatureLib::Battling::LearnedAttack::GetAttack() const noexcept { diff --git a/src/Battling/TurnChoices/AttackTurnChoice.hpp b/src/Battling/TurnChoices/AttackTurnChoice.hpp index ce63a1d..ad97a36 100644 --- a/src/Battling/TurnChoices/AttackTurnChoice.hpp +++ b/src/Battling/TurnChoices/AttackTurnChoice.hpp @@ -58,9 +58,7 @@ namespace CreatureLib::Battling { const CreatureIndex& GetTarget() const noexcept { return _target; } const std::unique_ptr