| 169 | }; |
| 170 | |
| 171 | void MetaLayer::Load() { |
| 172 | OptionMap.clear(); |
| 173 | |
| 174 | for (auto CurrentLayer = LoadOrder.begin(); CurrentLayer != LoadOrder.end(); ++CurrentLayer) { |
| 175 | auto it = ConfigLayers.find(*CurrentLayer); |
| 176 | if (it != ConfigLayers.end() && *CurrentLayer != Type) { |
| 177 | // Merge this layer's options to this layer |
| 178 | MergeConfigMap(it->second->GetOptionMap()); |
| 179 | } |
| 180 | } |
| 181 | } |
| 182 | |
| 183 | |
| 184 | void MetaLayer::MergeEnvironmentVariables(const ConfigOption& Option, const DefaultValues::Type::StringArrayType& Value) { |
no test coverage detected