From b9802e5df1c322b4b25f32b01c51a5c1399f8114 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 30 Jun 2023 17:27:10 +0100 Subject: [PATCH] fix: conversion between quantity points fixed --- src/core/include/mp-units/quantity_point.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/include/mp-units/quantity_point.h b/src/core/include/mp-units/quantity_point.h index 5ef2f588..16f8d62a 100644 --- a/src/core/include/mp-units/quantity_point.h +++ b/src/core/include/mp-units/quantity_point.h @@ -106,7 +106,7 @@ public: { } - template QP> + template QP> requires std::constructible_from constexpr explicit(!std::convertible_to) quantity_point(const QP& qp) : q_(qp.relative())