Potential fix for Windows build.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2020-02-02 15:34:38 +01:00
parent 7d56ce04ba
commit 82eee58455
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ namespace PkmnLib::Battling {
const bool IsShiny() const { return _coloring == 1; }
const std::vector<const LearnedMove*>& GetMoves() const {
return (const std::vector<const LearnedMove*>&)_attacks;
const std::vector<LearnedMove*>& GetMoves() const {
return reinterpret_cast<const std::vector<LearnedMove*>&>(_attacks);
}
const Library::Nature& GetNature() const;