refactor: quantity_point default-constructibility removed from the quantity_from constraints

This commit is contained in:
Mateusz Pusz
2024-09-06 18:31:51 +02:00
parent c06a533f50
commit 40dc07a42c

View File

@ -295,7 +295,7 @@ public:
#endif
template<PointOrigin PO2>
requires requires { quantity_point{} - PO2{}; }
requires requires(quantity_point qp) { qp - PO2{}; }
[[nodiscard]] constexpr Quantity auto quantity_from(PO2) const
{
return *this - PO2{};