Merge branch 'main' into feature/logging
Restore deleted config code so that tests can compile correctly
This commit is contained in:
@@ -29,4 +29,14 @@ bool Config::loadConfig(const std::string& configFile) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool Config::isKeyInCache(const std::string &key) {
|
||||||
|
return configMap.find(key) != configMap.end();
|
||||||
|
}
|
||||||
|
|
||||||
|
void Config::addToCache(const std::string &key, const YAML::Node &node) {
|
||||||
|
configMap[key] = node;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Config::registerUnknownKey(const std::string &key) {
|
||||||
|
unknownKeys.push_back(key);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user