Skip to content

Commit

Permalink
fix: clang compilation fixed workarounded with the CTAD for `quantity…
Browse files Browse the repository at this point in the history
…_formatter`
  • Loading branch information
mpusz committed Apr 19, 2024
1 parent 00372cc commit 17de6bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/include/mp-units/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,8 @@ class MP_UNITS_STD_FMT::formatter<mp_units::quantity<Reference, Rep>, Char> {
}
void on_text(const Char* begin, const Char* end) const { std::copy(begin, end, out); }
};
template<typename OutputIt, typename... Args>
quantity_formatter(const formatter&, OutputIt, Args...) -> quantity_formatter<OutputIt>;

template<typename Handler>
constexpr const Char* parse_quantity_specs(const Char* begin, const Char* end, Handler&& handler) const
Expand Down

0 comments on commit 17de6bd

Please sign in to comment.