mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 04:41:16 +00:00
Small refactoring
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user