mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 20:51:16 +00:00
Merged r270:HEAD of the emitting-unicode branch
This commit is contained in:
@@ -28,9 +28,9 @@ namespace YAML
|
||||
return value;
|
||||
}
|
||||
|
||||
std::string Str(char ch)
|
||||
std::string Str(unsigned ch)
|
||||
{
|
||||
return std::string("") + ch;
|
||||
return std::string("") + static_cast<char>(ch);
|
||||
}
|
||||
|
||||
// Escape
|
||||
|
Reference in New Issue
Block a user