From 169e73e61b59c2d9ef0d8e12026638e338f75410 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Tue, 16 Jun 2020 19:15:09 +0200 Subject: [PATCH] `named_deduced_derived_unit` renamed to `named_deduced_unit` --- src/include/units/physical/fps/speed.h | 2 +- src/include/units/unit.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/units/physical/fps/speed.h b/src/include/units/physical/fps/speed.h index 1f9badf7..d1512a0b 100644 --- a/src/include/units/physical/fps/speed.h +++ b/src/include/units/physical/fps/speed.h @@ -37,7 +37,7 @@ using speed = quantity; struct mile_per_hour : deduced_unit{}; -struct nautical_mile_per_hour :named_deduced_derived_unit{}; +struct nautical_mile_per_hour : named_deduced_unit{}; struct knot : alias_unit {}; diff --git a/src/include/units/unit.h b/src/include/units/unit.h index e4c06b4d..832c1153 100644 --- a/src/include/units/unit.h +++ b/src/include/units/unit.h @@ -207,7 +207,7 @@ struct noble_deduced_unit : downcast_child requires detail::same_scaled_units -struct named_deduced_derived_unit : downcast_child> { +struct named_deduced_unit : downcast_child> { static constexpr bool is_named = true; static constexpr auto symbol = Symbol; using prefix_family = PF;