| 10164 | } |
| 10165 | |
| 10166 | SectionTracker::SectionTracker(NameAndLocation const &nameAndLocation, TrackerContext &ctx, ITracker *parent) |
| 10167 | : TrackerBase(nameAndLocation, ctx, parent) { |
| 10168 | if (parent) { |
| 10169 | while (!parent->isSectionTracker()) |
| 10170 | parent = &parent->parent(); |
| 10171 | |
| 10172 | SectionTracker &parentSection = static_cast<SectionTracker &>(*parent); |
| 10173 | addNextFilters(parentSection.m_filters); |
| 10174 | } |
| 10175 | } |
| 10176 | |
| 10177 | bool SectionTracker::isSectionTracker() const { |
| 10178 | return true; |
nothing calls this directly
no test coverage detected