Applied bugprone-use-after-move clang-tidy fixes

This commit is contained in:
Bartek Kryza
2022-12-20 21:51:48 +01:00
parent 204156d81b
commit e8909c6fc1

View File

@@ -92,7 +92,8 @@ public:
{
LOG_DBG("Adding source file: {}, {}", f->name(), f->full_name(true));
add_element(f->path(), std::move(f));
const auto path = f->path();
add_element(path, std::move(f));
}
std::filesystem::path fs_path(const std::filesystem::path &base = {}) const