59 |
|
|
60 |
|
class SameSectionParserFunctor { |
61 |
|
public: |
62 |
< |
SameSectionParserFunctor(const std::string section) : section_(section) {} |
63 |
< |
|
62 |
> |
SameSectionParserFunctor(const std::string §ion) : section_(section) {} |
63 |
> |
|
64 |
|
bool operator()(SectionParserContext context) { |
65 |
|
return context.sectionParser->getSectionName() == section_; |
66 |
|
} |
99 |
|
} |
100 |
|
|
101 |
|
private: |
102 |
< |
iterator findSectionParser(const std::string& sectionName); |
102 |
> |
iterator findSectionParser(const std::string §ionName); |
103 |
|
const int beginPriority_; |
104 |
|
int priorityDifference_; |
105 |
|
|