Skip to content

Commit

Permalink
fix: fmt formatter for REL::Version (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
powerof3 authored Oct 1, 2024
1 parent a835bef commit d136014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/REL/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ template <class CharT>
struct fmt::formatter<REL::Version, CharT> : formatter<std::string, CharT>
{
template <class FormatContext>
auto format(const REL::Version& a_version, FormatContext& a_ctx)
auto format(const REL::Version& a_version, FormatContext& a_ctx) const
{
return formatter<std::string, CharT>::format(a_version.string(), a_ctx);
}
Expand Down

0 comments on commit d136014

Please sign in to comment.