| 686 | } |
| 687 | |
| 688 | filter::~filter() { |
| 689 | if ( (my_filter_mode & version_mask) >= __TBB_PIPELINE_VERSION(3) ) { |
| 690 | if ( next_filter_in_pipeline != filter::not_in_pipeline() ) |
| 691 | my_pipeline->remove_filter(*this); |
| 692 | else |
| 693 | __TBB_ASSERT( prev_filter_in_pipeline == filter::not_in_pipeline(), "probably filter list is broken" ); |
| 694 | } else { |
| 695 | __TBB_ASSERT( next_filter_in_pipeline==filter::not_in_pipeline(), "cannot destroy filter that is part of pipeline" ); |
| 696 | } |
| 697 | } |
| 698 | |
| 699 | void |
| 700 | filter::set_end_of_input() { |
nothing calls this directly
no test coverage detected