From ee84f7b2c400c211133c1fd47248b6564d0247a8 Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Wed, 1 Nov 2023 17:34:21 +0100 Subject: [PATCH] Make it const char* --- include/edm4hep/Constants.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/edm4hep/Constants.h b/include/edm4hep/Constants.h index 312b94704..4e348ccac 100644 --- a/include/edm4hep/Constants.h +++ b/include/edm4hep/Constants.h @@ -19,10 +19,9 @@ #ifndef EDM4HEP_CONSTANTS_H #define EDM4HEP_CONSTANTS_H -#include namespace edm4hep { -inline constexpr std::string_view CellIDEncoding = "CellIDEncoding"; +static constexpr const char* CellIDEncoding = "CellIDEncoding"; } #endif // EDM4HEP_CONSTANTS_H