| 10252 | } |
| 10253 | |
| 10254 | SectionTracker::SectionTracker( NameAndLocation const& nameAndLocation, TrackerContext& ctx, ITracker* parent ) |
| 10255 | : TrackerBase( nameAndLocation, ctx, parent ) |
| 10256 | { |
| 10257 | if( parent ) { |
| 10258 | while( !parent->isSectionTracker() ) |
| 10259 | parent = &parent->parent(); |
| 10260 | |
| 10261 | SectionTracker& parentSection = static_cast<SectionTracker&>( *parent ); |
| 10262 | addNextFilters( parentSection.m_filters ); |
| 10263 | } |
| 10264 | } |
| 10265 | |
| 10266 | bool SectionTracker::isSectionTracker() const { return true; } |
| 10267 |
nothing calls this directly
no test coverage detected