Skip to content

ACTS TrackFinding fix debug mode failure

Carlo Varni requested to merge cvarni/athena:DebugModeFix into main

This should fix the issue observed in debug nightlies:

/build/atnight/localbuilds/nightlies/Athena/main/athena/Tracking/Acts/ActsTrackReconstruction/src/TrackFindingData.h: In member function 'std::pair<Acts::SourceLinkAdapterIterator<__gnu_cxx::__normal_iterator<const ATLASSourceLinkGeneric<xAOD::UncalibratedMeasurement_v1>*, std::vector<ATLASSourceLinkGeneric<xAOD::UncalibratedMeasurement_v1> > > >, Acts::SourceLinkAdapterIterator<__gnu_cxx::__normal_iterator<const ATLASSourceLinkGeneric<xAOD::UncalibratedMeasurement_v1>*, std::vector<ATLASSourceLinkGeneric<xAOD::UncalibratedMeasurement_v1> > > > > {anonymous}::UncalibSourceLinkAccessor::range(const Acts::Surface&) const':
/build/atnight/localbuilds/nightlies/Athena/main/athena/Tracking/Acts/ActsTrackReconstruction/src/TrackFindingData.h:91:47: error: request for member 'begin' in '((const {anonymous}::UncalibSourceLinkAccessor*)this)->{anonymous}::UncalibSourceLinkAccessor::m_measurementRanges', which is of pointer type 'const std::vector<std::pair<unsigned int, unsigned int> >* const' (maybe you meant to use '->' ?)
   91 |        assert( geo_iter - m_measurementRanges.begin() < m_measurementRanges->size());
      |                                               ^~~~~

/cc @adye

Merge request reports

Loading