diff --git a/src/exp.cpp b/src/exp.cpp index 969a80b..22080c6 100644 --- a/src/exp.cpp +++ b/src/exp.cpp @@ -30,7 +30,7 @@ namespace YAML std::string Str(unsigned ch) { - return std::string("") + static_cast(ch); + return std::string(1, static_cast(ch)); } // Escape