MemCheckIterTools::LocationListIterator::LocationListIterator(LocationList & l, const IterTool &iterTool) : p(l.begin()), m_end(l.end()), m_iterTool(iterTool) { while (p != m_end && m_iterTool.omitNonWorkspace && p->isOutOfWorkspace(m_iterTool.workspacePath)) ++p; }