Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Ayaz Salikhov
2026-04-27 21:14:31 +01:00
committed by GitHub
parent aa1f84e226
commit 2e0ea38d7d

View File

@@ -43,7 +43,7 @@ getSociSqliteInit(std::string const& name, std::string const& dir, std::string c
"Sqlite databases must specify a dir and a name. Name: " + name + " Dir: " + dir);
}
std::filesystem::path file(dir);
if (is_directory(file))
if (std::filesystem::is_directory(file))
file /= name + ext;
return file.string();
}