mirror of
https://github.com/NixOS/nix
synced 2024-10-18 00:16:11 -04:00
nit: clang-tidy
This commit is contained in:
parent
3edc164a86
commit
c5ec55c9f5
|
@ -21,8 +21,7 @@ static nlohmann::json storePathSetToJSON(const StorePaths & paths, Store & store
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO deduplicate with other code also setting such out links.
|
// TODO deduplicate with other code also setting such out links.
|
||||||
static void
|
static void createOutLinks(const std::filesystem::path & outLink, const StorePaths & derivations, LocalFSStore & store)
|
||||||
createOutLinks(const std::filesystem::path & outLink, const StorePaths & derivations, LocalFSStore & store)
|
|
||||||
{
|
{
|
||||||
for (const auto & [_i, drv] : enumerate(derivations)) {
|
for (const auto & [_i, drv] : enumerate(derivations)) {
|
||||||
auto i = _i;
|
auto i = _i;
|
||||||
|
|
Loading…
Reference in a new issue