From 8b69bb4c298b7e493ffe2bd886ec06197b2f4138 Mon Sep 17 00:00:00 2001 From: fintarin Date: Sun, 7 Apr 2024 11:04:37 +0400 Subject: [PATCH] a --- include/fintamath/core/MathObjectBody.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/fintamath/core/MathObjectBody.hpp b/include/fintamath/core/MathObjectBody.hpp index 7e1e70927..12c0725c8 100644 --- a/include/fintamath/core/MathObjectBody.hpp +++ b/include/fintamath/core/MathObjectBody.hpp @@ -7,14 +7,14 @@ #include "fintamath/core/MathObjectIdStorage.hpp" #include "fintamath/core/Parser.hpp" -#define FINTAMATH_CLASS_BODY(Class, Parent) \ -public: \ - static constexpr MathObjectClass getClassStatic() noexcept { \ - return &objClass; \ - } \ - \ -private: \ - FINTAMATH_API static constexpr detail::MathObjectClassImpl \ +#define FINTAMATH_CLASS_BODY(Class, Parent) \ +public: \ + FINTAMATH_API static constexpr MathObjectClass getClassStatic() noexcept { \ + return &objClass; \ + } \ + \ +private: \ + FINTAMATH_API static constexpr detail::MathObjectClassImpl \ objClass{#Class, Parent::getClassStatic()}; #define FINTAMATH_PARENT_CLASS_BODY(Class, Parent) \