From cccf1e24b005fd7b3571df37ef8d768e593d7c55 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 21 Dec 2023 12:25:09 +0100 Subject: [PATCH] refactor: point origin can't be set for a unit that does not have an associated quantity kind --- src/core/include/mp-units/unit.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/core/include/mp-units/unit.h b/src/core/include/mp-units/unit.h index f03257b4..79b2512a 100644 --- a/src/core/include/mp-units/unit.h +++ b/src/core/include/mp-units/unit.h @@ -153,13 +153,6 @@ struct named_unit { static constexpr auto symbol = Symbol; ///< Unique base unit identifier }; -template - requires(!Symbol.empty()) -struct named_unit { - static constexpr auto symbol = Symbol; ///< Unique base unit identifier - static constexpr auto point_origin = PO; -}; - /** * @brief Specialization for a unit with special name *