Fix progress bar

This commit is contained in:
Sebastian Messmer 2022-12-19 12:11:27 +01:00
parent cc365e9b86
commit dde3d667be

View File

@ -125,7 +125,7 @@ std::vector<BlockId> getKnownBlockIds(const path& basedir, const CryConfigLoader
const uint32_t numNodes = nodeStore->numNodes();
knownBlockIds.reserve(numNodes);
cout << "Listing all blocks used by these file system entities..." << endl;
auto progress_bar = ProgressBar(numBlocks);
auto progress_bar = ProgressBar(numNodes);
for (const auto& blobId : knownBlobIds) {
forEachReachableBlockInBlob(nodeStore.get(), blobId, {
progress_bar.callback(),