mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 17:29:00 +08:00
e2a71489b1
* [fmt] Update to 9.0.0 * update version * write version Co-authored-by: FrankXie <v-frankxie@microsoft.com>
16 lines
730 B
Diff
16 lines
730 B
Diff
diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h
|
|
index f44df01c..59cc4559 100644
|
|
--- a/include/fmt/format-inl.h
|
|
+++ b/include/fmt/format-inl.h
|
|
@@ -62,8 +62,8 @@ FMT_FUNC void format_error_code(detail::buffer<char>& out, int error_code,
|
|
error_code_size += detail::to_unsigned(detail::count_digits(abs_value));
|
|
auto it = buffer_appender<char>(out);
|
|
if (message.size() <= inline_buffer_size - error_code_size)
|
|
- format_to(it, FMT_STRING("{}{}"), message, SEP);
|
|
- format_to(it, FMT_STRING("{}{}"), ERROR_STR, error_code);
|
|
+ fmt::format_to(it, FMT_STRING("{}{}"), message, SEP);
|
|
+ fmt::format_to(it, FMT_STRING("{}{}"), ERROR_STR, error_code);
|
|
FMT_ASSERT(out.size() <= inline_buffer_size, "");
|
|
}
|
|
|