Skip to content

Commit

Permalink
Fix overload ambiguity in print
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Feb 5, 2022
1 parent 17b362f commit e2ba01f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/compile.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ template <typename Char, size_t N,
fmt::detail_exported::fixed_string<Char, N> Str>
struct udl_compiled_string : compiled_string {
using char_type = Char;
constexpr operator basic_string_view<char_type>() const {
explicit constexpr operator basic_string_view<char_type>() const {
return {Str.data, N - 1};
}
};
Expand Down

0 comments on commit e2ba01f

Please sign in to comment.