Removed StringView initialization, and use the default uninitialized pointer for it.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-08-01 10:34:40 +02:00
parent 670abd7229
commit 301f9b9656
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ namespace CreatureLib::Battling {
std::unique_ptr<Script> _activeTalent = nullptr; std::unique_ptr<Script> _activeTalent = nullptr;
bool _hasOverridenTalent; bool _hasOverridenTalent;
ArbUt::StringView _overridenTalentName = ""_cnc; ArbUt::StringView _overridenTalentName;
std::unordered_set<ArbUt::BorrowedPtr<Creature>> _seenOpponents; std::unordered_set<ArbUt::BorrowedPtr<Creature>> _seenOpponents;
ArbUt::UniquePtrList<LearnedAttack> _attacks; ArbUt::UniquePtrList<LearnedAttack> _attacks;