From 7adeb14d4596e4967273eda299c803e2a828ddbd Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 25 Dec 2022 14:25:28 +0100 Subject: case-insensitive match --- oop2eindopdr/Pokedex.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'oop2eindopdr/Pokedex.h') 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 search_cards_by_id_local(std::string query); virtual std::vector search_cards_by_id_remote(std::string query); + /** @brief convert std::string to lowercase */ + std::string lower(std::string input); + public: Pokedex(); virtual ~Pokedex(); -- cgit v1.2.3