From 2c3638d3943931b52d768cdc135aff93f7a118cf Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Tue, 7 May 2024 15:13:28 -0400 Subject: [PATCH] xo-unit: retire mixed scaled_unit/natural_unit *,/ after all --- include/xo/unit/scaled_unit.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/xo/unit/scaled_unit.hpp b/include/xo/unit/scaled_unit.hpp index dd129c70..4cd5fe80 100644 --- a/include/xo/unit/scaled_unit.hpp +++ b/include/xo/unit/scaled_unit.hpp @@ -200,6 +200,7 @@ namespace xo { rr.outer_scale_sq_ * x_unit.outer_scale_sq_ * y_unit.outer_scale_sq_)); } +#ifdef OBSOLETE template > inline constexpr scaled_unit @@ -221,6 +222,7 @@ namespace xo { return x_unit2 * y_unit; } +#endif template > @@ -239,6 +241,7 @@ namespace xo { rr.outer_scale_sq_ * x_unit.outer_scale_sq_ * y_unit.outer_scale_sq_)); } +#ifdef OBSOLETE template > inline constexpr scaled_unit @@ -260,6 +263,7 @@ namespace xo { return x_unit2 / y_unit; } +#endif } /*namespace qty*/ } /*namespace xo*/