diff --git a/Framework/StackInterface/StackIteratorInterface.h b/Framework/StackInterface/StackIteratorInterface.h index e02ab055c97819a1a9be60a8c88e4cd23e636eea..62596f93067468fba2108e8d4b8fbb5473c0aa33 100644 --- a/Framework/StackInterface/StackIteratorInterface.h +++ b/Framework/StackInterface/StackIteratorInterface.h @@ -320,6 +320,8 @@ namespace corsika::stack { StackType>& rhs) const { return index_ != rhs.index_; } + bool operator==(const StackIteratorInterface<TStackData, TParticleInterface, StackType>& rhs) const { return index_ == rhs.index_; } + bool operator!=(const StackIteratorInterface<TStackData, TParticleInterface, StackType>& rhs) const { return index_ != rhs.index_; } const ParticleInterfaceType& operator*() const { return static_cast<const ParticleInterfaceType&>(*this);