Skip to content

Commit

Permalink
[REFACT] Pass argument as constant reference
Browse files Browse the repository at this point in the history
  • Loading branch information
hasherezade committed Dec 1, 2024
1 parent d693435 commit d6244cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ std::string booleanToStr(const bool &val)
return (val) ? "True" : "False";
}

bool fillSettings(Settings &s, std::string line)
bool fillSettings(Settings &s, const std::string &line)
{
std::vector<std::string> args;
util::splitList(line, DELIM, args);
Expand Down

0 comments on commit d6244cd

Please sign in to comment.