From 38a26888be34194ee0a60c49018b8440f6da004a Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Wed, 23 Mar 2022 18:48:39 +0100 Subject: [PATCH] Fixes declaration of Battle::GetHistory --- src/Battling/Models/Battle.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Battling/Models/Battle.hpp b/src/Battling/Models/Battle.hpp index e21902d..b63e11f 100644 --- a/src/Battling/Models/Battle.hpp +++ b/src/Battling/Models/Battle.hpp @@ -117,7 +117,7 @@ namespace CreatureLib::Battling { try_creature(this->_historyHolder->Register(this->GetCurrentTurn(), args...); , "Exception occurred during history element registration."); } - const ArbUt::BorrowedPtr GetHistory() const noexcept { return _historyHolder.GetRaw(); } + ArbUt::BorrowedPtr GetHistory() const noexcept { return _historyHolder.GetRaw(); } long GetLastTurnTimeMicroseconds() const noexcept { return _lastTurnTime; }