Skip to content
Snippets Groups Projects
Commit 083a9e09 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

To grow std::string by a char, use push_back() instead of append().

parent 6fddfab6
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,7 @@ static std::string quote(const std::string& str) ...@@ -92,7 +92,7 @@ static std::string quote(const std::string& str)
{ {
result.append("\\"); result.append("\\");
} }
result.append(*ci); result.push_back(*ci);
} }
return result + "\""; return result + "\"";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment