ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-4/src/io/SectionParserManager.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-4/src/io/SectionParserManager.cpp (file contents):
Revision 1800 by tim, Mon Nov 29 15:50:05 2004 UTC vs.
Revision 1801 by tim, Tue Nov 30 04:43:29 2004 UTC

# 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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines