void ProcessingContextImpl::ProcessDataBlockPhase2() { for (uint64_t file_offset : found_) { Result result; result.offset = file_offset; result.size = search_text_.size(); report_->ReportFound(file_path_, result); } found_.clear(); }
void RegexSearch::ProcessDataBlockPhase2() { for (const Result& result : found_) report_->ReportFound(file_path_, result); found_.clear(); }