From 5c1b1e0ff48245b1daee27009e608bed5d22493b Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 16 Jun 2023 17:00:41 +0300 Subject: [PATCH] test: `QUANTITY_SPEC_` macro fixed --- test/unit_test/static/test_tools.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/unit_test/static/test_tools.h b/test/unit_test/static/test_tools.h index de9293c2..a22f0891 100644 --- a/test/unit_test/static/test_tools.h +++ b/test/unit_test/static/test_tools.h @@ -139,14 +139,14 @@ inline constexpr bool is_of_type = std::is_same_v { \ +#define QUANTITY_SPEC_(name, ...) \ + inline constexpr struct name##_ : quantity_spec<__VA_ARGS__> { \ } name #else -#define QUANTITY_SPEC_(name, ...) \ - inline constexpr struct name##_ : quantity_spec { \ +#define QUANTITY_SPEC_(name, ...) \ + inline constexpr struct name##_ : quantity_spec { \ } name #endif