Commit beb52448 by Jesse Beder

Small refactoring

parent 4ffb93c1
......@@ -30,7 +30,7 @@ namespace YAML
std::string Str(unsigned ch)
{
return std::string("") + static_cast<char>(ch);
return std::string(1, static_cast<char>(ch));
}
// Escape
......
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