From a5d004b0773f633401528392fc28e66d70e13ac8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 4 Jan 2021 21:32:13 +0100 Subject: BOOST_FOREACH. --- src/lib/ext.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/ext.cc') diff --git a/src/lib/ext.cc b/src/lib/ext.cc index 751bab5aa..086afd91e 100644 --- a/src/lib/ext.cc +++ b/src/lib/ext.cc @@ -57,7 +57,6 @@ extern "C" { #include } #include -#include #include @@ -246,7 +245,7 @@ void verify (vector const& copied_files, uint64_t total, Nanomsg* nanomsg) { uint64_t total_remaining = total; - BOOST_FOREACH (CopiedFile const& i, copied_files) { + for (auto const& i: copied_files) { string const read_digest = read (i.from, i.to, total_remaining, total, nanomsg); LOG_DISK ("Read %1 %2 was %3 on write, now %4", i.from.string(), i.to.generic_string(), i.write_digest, read_digest); if (read_digest != i.write_digest) { -- cgit v1.2.3