Potential fix for Windows build.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
7d56ce04ba
commit
82eee58455
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue