Commit 1261088d authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[2377] Pass string by reference

It was obviously forgotten (and cppcheck complained).
parent d5137a32
......@@ -48,7 +48,7 @@ public:
/// Concatenate file, line, and reason, and add it to either errors
/// or warnings
void callback(vector<string>* target, const std::string& file, size_t line,
const std::string reason)
const std::string& reason)
{
std::stringstream ss;
ss << reason << " [" << file << ":" << line << "]";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment