refactor: quantity_point default-constructibility removed from the quantity_from constraints

This commit is contained in:
Mateusz Pusz committed 2024-09-06 18:31:51 +02:00
1 parent c06a533f50
commit 40dc07a42c
1 file changed
+1 -1
@@ -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{};