Commit cfd0f1e6 authored by Ben Boeckel's avatar Ben Boeckel Committed by Brad King

JoinPath: push back as a character

This avoids a `strlen` call at least.
parent ba270398
......@@ -3623,7 +3623,7 @@ std::string SystemTools::JoinPath(
// All remaining components are always separated with a slash.
while (first != last) {
result.append("/");
result.push_back('/');
result.append((*first++));
}
......
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