From 15db2b4ea0c9ad00c9325fc567d1fdc5e582bdd2 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sun, 26 Jul 2020 10:50:52 +0200 Subject: [PATCH] Make nickname string instead of string_view. --- src/Battling/Pokemon/Pokemon.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Battling/Pokemon/Pokemon.hpp b/src/Battling/Pokemon/Pokemon.hpp index 33f2884..18d8933 100644 --- a/src/Battling/Pokemon/Pokemon.hpp +++ b/src/Battling/Pokemon/Pokemon.hpp @@ -22,7 +22,7 @@ namespace PkmnLib::Battling { const ArbUt::BorrowedPtr& species, const ArbUt::BorrowedPtr& forme, uint8_t level, uint32_t experience, uint32_t uid, CreatureLib::Library::Gender gender, uint8_t coloring, - ArbUt::BorrowedPtr heldItem, const std::string_view& nickname, + ArbUt::BorrowedPtr heldItem, const std::string& nickname, const CreatureLib::Library::TalentIndex& talent, const std::vector& moves, CreatureLib::Library::StatisticSet individualValues,