From e4178950e087c8d7038350eb8c9979f09f649897 Mon Sep 17 00:00:00 2001 From: tmadlener Date: Thu, 25 Jul 2024 16:56:19 +0200 Subject: [PATCH] Force evaluation at compile time to avoid linker issues --- .../include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.ipp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.ipp b/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.ipp index 83a74e9..fdaf9ce 100644 --- a/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.ipp +++ b/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.ipp @@ -817,11 +817,11 @@ std::vector>> create namespace detail { template - constexpr const char* getTypeName(); + consteval const char* getTypeName(); #define DEFINE_TYPE_NAME(type) \ template <> \ - constexpr const char* getTypeName() { \ + consteval const char* getTypeName() { \ return #type; \ }