Skip to content

Commit

Permalink
conditions: use static unsigned long long int because ROOTs latest ll…
Browse files Browse the repository at this point in the history
…vm otherwise causes assertion in debug mode about not being able to represent in 64 bit. Not sure if bug in enum parsing???
  • Loading branch information
andresailer committed Oct 16, 2024
1 parent 6c11d77 commit 3e720be
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions DDCore/include/DD4hep/Conditions.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,7 @@ namespace dd4hep {
LAST_DET_KEY = ~0x0U
};
/// Flags to indicate global conditions ranges
enum {
FIRST_KEY = 0x0ULL,
LAST_KEY = ~0x0ULL
};
static constexpr unsigned long long int FIRST_KEY = 0x0ULL, LAST_KEY = ~0x0ULL;

/// Abstract base for processing callbacks to conditions objects
/**
Expand Down

0 comments on commit 3e720be

Please sign in to comment.