1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 10:11:47 +02:00

Explicitly instantiate the progress-bar counter in copy-sigs

This commit is contained in:
Théophane Hufschmitt 2024-03-06 06:56:03 +01:00 committed by GitHub
parent 5d534dc30f
commit 9b40a46abe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,7 +46,7 @@ struct CmdCopySigs : StorePathsCommand
Activity act(*logger, lvlInfo, actCopyPaths, "copying signatures"); Activity act(*logger, lvlInfo, actCopyPaths, "copying signatures");
act.setExpected(actCopyPaths, storePaths.size()); act.setExpected(actCopyPaths, storePaths.size());
std::atomic_uint64_t counter; std::atomic_uint64_t counter = 0;
auto doPath = [&](const Path & storePathS) { auto doPath = [&](const Path & storePathS) {
checkInterrupt(); checkInterrupt();