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