| 747 | } |
| 748 | |
| 749 | TYandexConfig::TSectionsMap TYandexConfig::Section::GetAllChildren() const { |
| 750 | TSectionsMap result; |
| 751 | if (Child == nullptr) |
| 752 | return result; |
| 753 | Section* curSection = Child; |
| 754 | while (curSection) { |
| 755 | result.insert(TMultiMap<TCiString, Section*>::value_type(curSection->Name, curSection)); |
| 756 | curSection = curSection->Next; |
| 757 | } |
| 758 | return result; |
| 759 | } |
no test coverage detected