From 40c809091dabecda6fb1860eeda4cf078214fbbd Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Mon, 11 Sep 2023 19:36:06 +0200 Subject: [PATCH] fix: `numerical_value_ref_in` name fixed for this deduction in `quantity` --- src/core/include/mp-units/quantity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/include/mp-units/quantity.h b/src/core/include/mp-units/quantity.h index 81600158..0ea996d6 100644 --- a/src/core/include/mp-units/quantity.h +++ b/src/core/include/mp-units/quantity.h @@ -145,7 +145,7 @@ public: #ifdef __cpp_explicit_this_parameter template requires(U{} == unit) - [[nodiscard]] constexpr auto&& value_ref_in(this Self&& self, U) noexcept + [[nodiscard]] constexpr auto&& numerical_value_ref_in(this Self&& self, U) noexcept { return std::forward(self).value_; }