diff --git a/Core/include/Acts/EventData/MultiTrajectory.hpp b/Core/include/Acts/EventData/MultiTrajectory.hpp index 4b1add782b1..446348a6ae0 100644 --- a/Core/include/Acts/EventData/MultiTrajectory.hpp +++ b/Core/include/Acts/EventData/MultiTrajectory.hpp @@ -87,6 +87,12 @@ class TrackStateRange { } } + Iterator operator++(int) { + Iterator tmp(*this); + operator++(); + return tmp; + } + bool operator==(const Iterator& other) const { if (!proxy && !other.proxy) { return true; @@ -109,6 +115,9 @@ class TrackStateRange { Iterator begin() { return m_begin; } Iterator end() { return Iterator{std::nullopt}; } + Iterator cbegin() const { return m_begin; } + Iterator cend() const { return Iterator{std::nullopt}; } + private: Iterator m_begin; };