Pass writer to format_value
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ BasicStringRef<Char> format_value(
|
||||
|
||||
// Formats a value.
|
||||
template <typename Char, typename ArgFormatter, typename T>
|
||||
void format_value(basic_formatter<Char, ArgFormatter> &f,
|
||||
void format_value(BasicWriter<Char> &w, basic_formatter<Char, ArgFormatter> &f,
|
||||
const Char *&format_str, const T &value) {
|
||||
internal::MemoryBuffer<Char, internal::INLINE_BUFFER_SIZE> buffer;
|
||||
auto str = internal::format_value(buffer, value);
|
||||
|
||||
Reference in New Issue
Block a user