fix: missing constexpr added to a quantity_point constructor

This commit is contained in:
Mateusz Pusz
2023-12-02 14:17:20 +01:00
parent 5121eca121
commit 611e380ed4

View File

@ -113,7 +113,7 @@ public:
requires Quantity<std::remove_cvref_t<Q>> && std::constructible_from<quantity_type, Q> &&
ReferenceOf<std::remove_const_t<decltype(std::remove_reference_t<Q>::reference)>, PO2::quantity_spec> &&
detail::SameAbsolutePointOriginAs<PO2, PO>
quantity_point(Q&& q, PO2) :
constexpr quantity_point(Q&& q, PO2) :
quantity_point(
quantity_point<std::remove_reference_t<Q>::reference, PO2{}, typename std::remove_reference_t<Q>::rep>{
std::forward<Q>(q), PO2{}})