mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 12:54:25 +02:00
fix: conversion between quantity points fixed
This commit is contained in:
@@ -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())
|
||||
|
Reference in New Issue
Block a user