Skip to content
Snippets Groups Projects
Commit ab6bbfcd authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

simplify

parent 5890fca5
No related branches found
No related tags found
No related merge requests found
...@@ -49,10 +49,7 @@ size_t SimulationAreaIterator::detectorIndex() const ...@@ -49,10 +49,7 @@ size_t SimulationAreaIterator::detectorIndex() const
SimulationAreaIterator& SimulationAreaIterator::operator++() SimulationAreaIterator& SimulationAreaIterator::operator++()
{ {
size_t index = nextIndex(m_index); m_index = nextIndex(m_index);
if (index != m_index)
m_index = index;
return *this; return *this;
} }
......
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