From ba6606a44217198ef039139336787359c9f55d4e Mon Sep 17 00:00:00 2001 From: burgholzer Date: Fri, 9 Aug 2024 16:02:09 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20explicitly=20export=20the=20`Rea?= =?UTF-8?q?lNumber`=20constants?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: burgholzer Signed-off-by: Lukas Burgholzer Signed-off-by: burgholzer --- include/mqt-core/dd/RealNumber.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/mqt-core/dd/RealNumber.hpp b/include/mqt-core/dd/RealNumber.hpp index 2b7b1addd..3364fd3ca 100644 --- a/include/mqt-core/dd/RealNumber.hpp +++ b/include/mqt-core/dd/RealNumber.hpp @@ -1,6 +1,7 @@ #pragma once #include "dd/DDDefinitions.hpp" +#include "mqt_core_dd_export.h" #include #include @@ -230,11 +231,11 @@ struct RealNumber { namespace constants { // NOLINTBEGIN(cppcoreguidelines-avoid-non-const-global-variables) /// The constant zero. -extern RealNumber zero; +MQT_CORE_DD_EXPORT extern RealNumber zero; /// The constant one. -extern RealNumber one; +MQT_CORE_DD_EXPORT extern RealNumber one; /// The constant sqrt(2)/2 = 1/sqrt(2). -extern RealNumber sqrt2over2; +MQT_CORE_DD_EXPORT extern RealNumber sqrt2over2; // NOLINTEND(cppcoreguidelines-avoid-non-const-global-variables) /**