From 9ad2cd5986c7502988f50c4dd43c632ec080c5f8 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 23 Dec 2022 18:04:40 +0100 Subject: [PATCH] fix: `QUANTITY_SPEC` macros now use `units::` namespace --- src/core/include/units/quantity_spec.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/include/units/quantity_spec.h b/src/core/include/units/quantity_spec.h index 46264df5..a84cfcb1 100644 --- a/src/core/include/units/quantity_spec.h +++ b/src/core/include/units/quantity_spec.h @@ -381,14 +381,14 @@ struct quantity_spec : std::remove_const_t { #ifdef __cpp_explicit_this_parameter -#define QUANTITY_SPEC(name, ...) \ - inline constexpr struct name : quantity_spec<##__VA_ARGS__> { \ +#define QUANTITY_SPEC(name, ...) \ + inline constexpr struct name : ::units::quantity_spec<##__VA_ARGS__> { \ } name #else -#define QUANTITY_SPEC(name, ...) \ - inline constexpr struct name : quantity_spec { \ +#define QUANTITY_SPEC(name, ...) \ + inline constexpr struct name : ::units::quantity_spec { \ } name #endif