fixed extra copy

This commit is contained in:
Arkoniak
2025-07-31 21:29:20 +03:00
parent f824ae9334
commit 1e0037a873
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ void Config::setupConfig(Json::Value &dst, const std::string &config_file, int d
mergeConfig(dst, tmp_config);
}
std::optional<std::string> Config::findIncludePath(const std::string name) {
std::optional<std::string> Config::findIncludePath(const std::string &name) {
auto match1 = tryExpandPath(name, "");
if (!match1.empty()) {
return match1.front();