Skip to content

Commit 751f7bd

Browse files
pnwkwshahor02
authored andcommitted
Make the NCOUNTERS variable constexpr
1 parent 2ea5bbf commit 751f7bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • DataFormats/Detectors/CTP/include/DataFormatsCTP

DataFormats/Detectors/CTP/include/DataFormatsCTP/Scalers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class CTPRunScalers
8686
void setRunNumber(uint32_t rnumber) { mRunNumber = rnumber; };
8787
//
8888
int parseZMQScalers(std::string zmqscalers);
89-
static const uint32_t NCOUNTERS = 1052;
89+
static constexpr uint32_t NCOUNTERS = 1052;
9090
static std::vector<std::string> scalerNames;
9191

9292
private:

0 commit comments

Comments
 (0)