diff --git a/include/fmt/format.h b/include/fmt/format.h index 94e0594e..912c861f 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -1600,7 +1600,7 @@ inline auto find_escape(const char* begin, const char* end) template auto write_escaped_string(OutputIt out, basic_string_view str, - Char bracket = '"') -> OutputIt { + Char bracket = Char('"')) -> OutputIt { *out++ = bracket; auto begin = str.begin(), end = str.end(); do {