more clang-tidy fixes after re-running it with added settings

This commit is contained in:
Axel Kohlmeyer
2022-05-14 06:15:41 -04:00
parent 2f0baa86d6
commit d4ea5ca49e
66 changed files with 117 additions and 229 deletions

View File

@ -144,7 +144,7 @@ static char *dupstring(const std::string &text)
return copy;
}
static int save_history(std::string range, std::string file)
static int save_history(const std::string &range, const std::string &file)
{
int from = history_base;
int to = from + history_length - 1;