From 9e67ec3b4ce42ba91e1e2224abaccd094d669317 Mon Sep 17 00:00:00 2001 From: dylanbenzi Date: Tue, 8 Apr 2025 13:08:19 -0400 Subject: [PATCH] remove const Pokemon vector --- Pokemon.cpp | 2 +- Pokemon.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Pokemon.cpp b/Pokemon.cpp index e81e992..621c6f6 100644 --- a/Pokemon.cpp +++ b/Pokemon.cpp @@ -18,7 +18,7 @@ olc::vi2d Pokemon::getCoordinate() { return { x, y }; }; -const vector allPokemon = { +vector allPokemon = { {1, "Bulbasaur"}, {2, "Ivysaur"}, {3, "Venusaur"}, diff --git a/Pokemon.h b/Pokemon.h index 0071b56..9159186 100644 --- a/Pokemon.h +++ b/Pokemon.h @@ -18,6 +18,6 @@ public: }; //global vector of 151 pokemon -extern const vector allPokemon; +extern vector allPokemon; #endif