Skip to content

Commit

Permalink
Make it const char*
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Nov 1, 2023
1 parent bbcc7c2 commit ee84f7b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/edm4hep/Constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@
#ifndef EDM4HEP_CONSTANTS_H
#define EDM4HEP_CONSTANTS_H

#include <string>

namespace edm4hep {
inline constexpr std::string_view CellIDEncoding = "CellIDEncoding";
static constexpr const char* CellIDEncoding = "CellIDEncoding";
}

#endif // EDM4HEP_CONSTANTS_H

0 comments on commit ee84f7b

Please sign in to comment.