Commit beb52448 authored by Jesse Beder's avatar Jesse Beder
Browse files

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