src/PredFinder/elf/ElfDocument.cpp
// Actually remove document individuals that we found, so we don't invalidate iterators when searching by value above

Actually remove document individuals that we found, so we don't invalidate iterators when searching by value above
Actually remove document individuals that we found so we don ' t invalidate iterators when searching by value above
BOOST_FOREACH(ElfIndividual_ptr matched_doc_individual_to_remove, matched_doc_individuals_to_remove) {
		ElfIndividualSet::iterator individual_i = _individuals.find(matched_doc_individual_to_remove);
		if (individual_i != _individuals.end()) {
			_individuals.erase(individual_i);
		}
	}
BOOST_FOREACH ( ElfIndividual_ptr matched_doc_individual_to_remove , matched_doc_individuals_to_remove ) { ElfIndividualSet :: iterator individual_i = _individuals . find ( matched_doc_individual_to_remove ) ; if ( individual_i != _individuals . end ( ) ) { _individuals . erase ( individual_i ) ; } }
Actually remove document individuals that we found, so we don't invalidate iterators when searching by value above
Actually remove document individuals that we found so we don ' t invalidate iterators when searching by value above