fix: conversion between quantity points fixed

This commit is contained in:
Mateusz Pusz
2023-06-30 17:27:10 +01:00
parent e8503f31d2
commit b9802e5df1

View File

@@ -106,7 +106,7 @@ public:
{
}
template<QuantityPointOf<point_origin> QP>
template<QuantityPointOf<absolute_point_origin> QP>
requires std::constructible_from<quantity_type, typename QP::quantity_type>
constexpr explicit(!std::convertible_to<typename QP::quantity_type, quantity_type>) quantity_point(const QP& qp) :
q_(qp.relative())