| 457 | } |
| 458 | |
| 459 | void Configurations::unsafeSetIfNotExist(Level level, ConfigurationType configurationType, const std::string& value) { |
| 460 | Configuration* conf = RegistryWithPred<Configuration, Configuration::Predicate>::get(level, configurationType); |
| 461 | if (conf == nullptr) { |
| 462 | unsafeSet(level, configurationType, value); |
| 463 | } |
| 464 | } |
| 465 | |
| 466 | void Configurations::unsafeSet(Level level, ConfigurationType configurationType, const std::string& value) { |
| 467 | Configuration* conf = RegistryWithPred<Configuration, Configuration::Predicate>::get(level, configurationType); |
nothing calls this directly
no outgoing calls
no test coverage detected