Make the search argument constant.

This commit is contained in:
Matthieu Gautier
2020-03-05 14:05:03 +01:00
parent 46626a3f98
commit 064d5f3fa6
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ class Searcher
* @param resultEnd the end offset of the search results (used for pagination).
* @param verbose print some info on stdout if true.
*/
void search(std::string& search,
void search(const std::string& search,
unsigned int resultStart,
unsigned int resultEnd,
const bool verbose = false);