src/SerifHTTPServer/PatternMatchDocumentTask.cpp
// Loop over the feature sets and remove any GenericPFeatures

Loop over the feature sets and remove any GenericPFeatures
Loop over the feature sets and remove any GenericPFeatures
BOOST_FOREACH(PatternFeatureSet_ptr pfs, all_results) {
					size_t index = 0;
					while (index < pfs->getNFeatures()) {
						if (boost::dynamic_pointer_cast<GenericPFeature>(pfs->getFeature(index))) {
							pfs->removeFeature(index);
						} else {
							index += 1;
						}
					}
				}
BOOST_FOREACH ( PatternFeatureSet_ptr pfs , all_results ) { size_t index = 0 ; while ( index < pfs -> getNFeatures ( ) ) { if ( boost :: dynamic_pointer_cast < GenericPFeature > ( pfs -> getFeature ( index ) ) ) { pfs -> removeFeature ( index ) ; } else { index += 1 ; } } }
Loop over the feature sets and remove any GenericPFeatures
Loop over the feature sets and remove any GenericPFeatures