# | Line 68 | Line 68 | void SectionParserManager::parse(std::istream& input, | |
---|---|---|
68 | ||
69 | std::string section = tokenizer.nextToken(); | |
70 | ||
71 | < | i = std::find_if(sectionParsers_.begin(), sectionParsers_.end(), predict); |
71 | > | i = std::find_if(sectionParsers_.begin(), sectionParsers_.end(), SameSectionParserFunctor(section)); |
72 | if (i == sectionParsers_.end()){ | |
73 | //can not find corresponding section parser | |
74 | std::cerr << "Can not find corresponding section parser for section: " << section << std::endl; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |