Skip to content
Snippets Groups Projects
Commit f8bac671 authored by Edward Moyse's avatar Edward Moyse
Browse files

Merge branch 'LumiBlockComps_clang' into 'master'

MAX_BCID is not constexpr: fix clang build

See merge request atlas/athena!27867
parents b0c17823 84bb3f52
No related branches found
No related tags found
No related merge requests found
...@@ -115,7 +115,7 @@ StatusCode BunchCrossingCondAlg::execute (const EventContext& ctx) const { ...@@ -115,7 +115,7 @@ StatusCode BunchCrossingCondAlg::execute (const EventContext& ctx) const {
std::vector<BunchCrossingCondData::bunchTrain_t> BunchCrossingCondAlg::findTrains(const std::bitset< BunchCrossingCondData::m_MAX_BCID>& collidingBCIDs, const int maxSpacingInTrain, const unsigned minBunchesPerTrain) const { std::vector<BunchCrossingCondData::bunchTrain_t> BunchCrossingCondAlg::findTrains(const std::bitset< BunchCrossingCondData::m_MAX_BCID>& collidingBCIDs, const int maxSpacingInTrain, const unsigned minBunchesPerTrain) const {
constexpr int MAX_BCID=collidingBCIDs.size(); const int MAX_BCID=collidingBCIDs.size();
std::vector<bunchTrain_t> result; std::vector<bunchTrain_t> result;
std::vector<std::pair<int,int> > holes; std::vector<std::pair<int,int> > holes;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment