| 786 | } |
| 787 | |
| 788 | std::vector<Path> LayerManager::BuildLayerPaths() const { |
| 789 | std::vector<Path> result; |
| 790 | |
| 791 | for (auto it = this->layer_init.begin(); it != this->layer_init.end(); ++it) { |
| 792 | bool keep = false; |
| 793 | |
| 794 | for (auto jt = it->second.begin(); jt != it->second.end(); ++jt) { |
| 795 | if (!jt->descriptor.removed) { |
| 796 | keep = true; |
| 797 | break; |
| 798 | } |
| 799 | } |
| 800 | |
| 801 | if (keep) { |
| 802 | result.push_back(it->first); |
| 803 | } |
| 804 | } |
| 805 | |
| 806 | return result; |
| 807 | } |
no outgoing calls
no test coverage detected