Skip to content

Commit

Permalink
New fmt requires a slight API change.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgiven committed Sep 10, 2024
1 parent 45036b7 commit 241878b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sector.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ struct Sector : public LogicalLocation
template <>
struct fmt::formatter<Sector::Status> : formatter<string_view>
{
auto format(Sector::Status status, format_context& ctx)
auto format(Sector::Status status, format_context& ctx) const
{
return formatter<string_view>::format(
Sector::statusToString(status), ctx);
Expand Down

0 comments on commit 241878b

Please sign in to comment.