diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:32:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 23:27:56 +0100 |
| commit | a5d004b0773f633401528392fc28e66d70e13ac8 (patch) | |
| tree | 9f83ff2ab353f5a63918210d4930d0ead228375e /src/lib/ext.cc | |
| parent | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (diff) | |
BOOST_FOREACH.
Diffstat (limited to 'src/lib/ext.cc')
| -rw-r--r-- | src/lib/ext.cc | 3 |
1 files changed, 1 insertions, 2 deletions
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 <lwext4/ext4_mkfs.h> } #include <boost/filesystem.hpp> -#include <boost/foreach.hpp> #include <string> @@ -246,7 +245,7 @@ void verify (vector<CopiedFile> 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) { |
