diff --git a/src/config/private/config.cpp b/src/config/private/config.cpp index 5eb3af6..766d66d 100644 --- a/src/config/private/config.cpp +++ b/src/config/private/config.cpp @@ -29,14 +29,4 @@ bool Config::loadConfig(const std::string& configFile) { 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); -} diff --git a/src/config/public/config.h b/src/config/public/config.h index 6156299..9770eae 100644 --- a/src/config/public/config.h +++ b/src/config/public/config.h @@ -151,6 +151,12 @@ public: } } + /** + * @brief Print the configuration file path and the YAML root node. + * @param os Output stream. + * @param config Config object to print. + * @return Output stream. + */ friend std::ostream& operator<<(std::ostream& os, const Config& config) { if (!config.debug) { os << "Config file: " << config.configFilePath << std::endl;