From 6ff77120a0517a781995b443b050bf13423b00c4 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 25 Oct 2024 22:54:32 +0200 Subject: [PATCH] refactor: small `unit_concepts.h` cleanup --- src/core/include/mp-units/framework/unit.h | 3 +++ src/core/include/mp-units/framework/unit_concepts.h | 7 ------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/core/include/mp-units/framework/unit.h b/src/core/include/mp-units/framework/unit.h index ad91c7af..5d6f6e2b 100644 --- a/src/core/include/mp-units/framework/unit.h +++ b/src/core/include/mp-units/framework/unit.h @@ -146,6 +146,9 @@ template return false; } +template +struct derived_unit; + namespace detail { struct unit_interface { diff --git a/src/core/include/mp-units/framework/unit_concepts.h b/src/core/include/mp-units/framework/unit_concepts.h index 1ab5ec42..901baef6 100644 --- a/src/core/include/mp-units/framework/unit_concepts.h +++ b/src/core/include/mp-units/framework/unit_concepts.h @@ -60,13 +60,6 @@ MP_UNITS_EXPORT struct one; MP_UNITS_EXPORT template concept PrefixableUnit = Unit && is_derived_from_specialization_of_v; -template -struct derived_unit; - -MP_UNITS_EXPORT template - requires(!Symbol.empty()) -struct prefixed_unit; - namespace detail { template