From 5635f7d199a2eab002c2af3de97167d88f927389 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 15 Jun 2023 17:01:52 +0300 Subject: [PATCH] fix: `QUANTITY_SPEC` macro fixed --- src/core/include/mp-units/quantity_spec.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/include/mp-units/quantity_spec.h b/src/core/include/mp-units/quantity_spec.h index c8386cdc..1df58976 100644 --- a/src/core/include/mp-units/quantity_spec.h +++ b/src/core/include/mp-units/quantity_spec.h @@ -356,14 +356,14 @@ struct quantity_spec : quantity_spec { #ifdef __cpp_explicit_this_parameter -#define QUANTITY_SPEC(name, ...) \ - inline constexpr struct name : ::mp_units::quantity_spec<##__VA_ARGS__> { \ +#define QUANTITY_SPEC(name, ...) \ + inline constexpr struct name : ::mp_units::quantity_spec<__VA_ARGS__> { \ } name #else -#define QUANTITY_SPEC(name, ...) \ - inline constexpr struct name : ::mp_units::quantity_spec { \ +#define QUANTITY_SPEC(name, ...) \ + inline constexpr struct name : ::mp_units::quantity_spec { \ } name #endif