Skip to content

Commit

Permalink
Update fmt submodule to version 11.0.2 (#3162)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulromano authored Oct 5, 2024
1 parent 2450eef commit 34f0426
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/openmc/output.h
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}
Expand Down
2 changes: 1 addition & 1 deletion include/openmc/position.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion vendor/fmt
Submodule fmt updated 246 files

0 comments on commit 34f0426

Please sign in to comment.