Fix formatting of exotic characters

This commit is contained in:
Victor Zverovich
2019-06-03 16:37:15 -07:00
parent 7e42c65bb6
commit eddb84cfc0
3 changed files with 23 additions and 4 deletions

View File

@@ -771,7 +771,7 @@ FMT_MAKE_VALUE(uint_type, unsigned char, unsigned)
template <typename C, typename Char,
FMT_ENABLE_IF(std::is_same<typename C::char_type, Char>::value)>
FMT_CONSTEXPR init<C, int, char_type> make_value(Char val) {
return val;
return {val};
}
template <typename C,