Commit 9ee348d6 authored by jbeder's avatar jbeder
Browse files

Small refactoring

parent 2b2fca75
......@@ -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