Explicitly instantiate the progress-bar counter in copy-sigs
This commit is contained in:
committed by
GitHub
parent
5d534dc30f
commit
9b40a46abe
@@ -46,7 +46,7 @@ struct CmdCopySigs : StorePathsCommand
|
||||
Activity act(*logger, lvlInfo, actCopyPaths, "copying signatures");
|
||||
act.setExpected(actCopyPaths, storePaths.size());
|
||||
|
||||
std::atomic_uint64_t counter;
|
||||
std::atomic_uint64_t counter = 0;
|
||||
|
||||
auto doPath = [&](const Path & storePathS) {
|
||||
checkInterrupt();
|
||||
|
||||
Reference in New Issue
Block a user