feat(Core/Config): loading modules configs before loading scripts (#9653)

This commit is contained in:
Kargatum
2021-12-12 23:20:39 +07:00
committed by GitHub
parent 4e70e60427
commit e61dbad192
3 changed files with 5 additions and 5 deletions

View File

@@ -360,7 +360,7 @@ std::string const ConfigMgr::GetConfigPath()
#endif
}
void ConfigMgr::Configure(std::string const& initFileName, std::vector<std::string> args, std::string const& modulesConfigList /*= ""*/)
void ConfigMgr::Configure(std::string const& initFileName, std::vector<std::string> args, std::string_view modulesConfigList /*= {}*/)
{
_filename = initFileName;
_args = std::move(args);