Relative paths in included configs

This commit is contained in:
Arkoniak
2025-07-29 10:45:31 +03:00
parent 0776e694df
commit f824ae9334
4 changed files with 27 additions and 5 deletions

View File

@ -35,6 +35,7 @@ class Config {
void setupConfig(Json::Value &dst, const std::string &config_file, int depth);
void resolveConfigIncludes(Json::Value &config, int depth);
void mergeConfig(Json::Value &a_config_, Json::Value &b_config_);
std::optional<std::string> findIncludePath(const std::string name);
std::string config_file_;