Update fmt submodule to version 11.0.2 (#3162)

This commit is contained in:
Paul Romano 2024-10-05 12:28:22 -05:00 committed by GitHub
parent 2450eef424
commit 34f04267a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -76,7 +76,7 @@ struct formatter<std::array<T, 2>> {
}
template<typename FormatContext>
auto format(const std::array<T, 2>& arr, FormatContext& ctx)
auto format(const std::array<T, 2>& arr, FormatContext& ctx) const
{
return format_to(ctx.out(), "({}, {})", arr[0], arr[1]);
}

View file

@ -221,7 +221,7 @@ namespace fmt {
template<>
struct formatter<openmc::Position> : formatter<std::string> {
template<typename FormatContext>
auto format(const openmc::Position& pos, FormatContext& ctx)
auto format(const openmc::Position& pos, FormatContext& ctx) const
{
return formatter<std::string>::format(
fmt::format("({}, {}, {})", pos.x, pos.y, pos.z), ctx);

2
vendor/fmt vendored

@ -1 +1 @@
Subproject commit 65ac626c5856f5aad1f1542e79407a6714357043
Subproject commit 0c9fce2ffefecfdce794e1859584e25877b7b592