diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-12-25 14:25:28 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-12-25 14:25:28 +0100 |
commit | 7adeb14d4596e4967273eda299c803e2a828ddbd (patch) | |
tree | ae31537f75a74af441179670dc2bdb3e8ae83d17 /oop2eindopdr/Pokedex.h | |
parent | 9205f93bda48ffdc080d40140511b68b88c46fd7 (diff) |
case-insensitive match
Diffstat (limited to 'oop2eindopdr/Pokedex.h')
-rw-r--r-- | oop2eindopdr/Pokedex.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/oop2eindopdr/Pokedex.h b/oop2eindopdr/Pokedex.h index 41cbf7c..5fc2fc9 100644 --- a/oop2eindopdr/Pokedex.h +++ b/oop2eindopdr/Pokedex.h @@ -32,6 +32,9 @@ private: virtual std::vector<PokemonCard*> search_cards_by_id_local(std::string query); virtual std::vector<PokemonCard*> search_cards_by_id_remote(std::string query); + /** @brief convert std::string to lowercase */ + std::string lower(std::string input); + public: Pokedex(); virtual ~Pokedex(); |