summaryrefslogtreecommitdiff
path: root/tools/dcprecover.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-11 00:16:40 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-17 20:13:23 +0100
commitd95eacd3851a20e52202465ec22b4f72a4983dc8 (patch)
tree1dfc1092ae7d2e6b6b7c313ad808415f578d9712 /tools/dcprecover.cc
parentcbee0d077e698541afcea82a95bafcea5245ab89 (diff)
Replace std::list with std::vector in the API.
Diffstat (limited to 'tools/dcprecover.cc')
-rw-r--r--tools/dcprecover.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/dcprecover.cc b/tools/dcprecover.cc
index 9105f2a7..49699f5e 100644
--- a/tools/dcprecover.cc
+++ b/tools/dcprecover.cc
@@ -45,8 +45,8 @@
using std::cerr;
using std::cout;
using std::string;
-using std::list;
using std::shared_ptr;
+using std::vector;
using boost::optional;
static void
@@ -102,7 +102,7 @@ main (int argc, char* argv[])
/* Try to read it and report errors */
dcp::DCP dcp (dcp_dir);
- list<dcp::VerificationNote> notes;
+ vector<dcp::VerificationNote> notes;
try {
dcp.read (&notes, true);
} catch (dcp::ReadError& e) {
@@ -137,7 +137,7 @@ main (int argc, char* argv[])
}
/* Read all MXF assets */
- list<shared_ptr<dcp::Asset> > assets;
+ vector<shared_ptr<dcp::Asset>> assets;
for (boost::filesystem::directory_iterator i(dcp_dir); i != boost::filesystem::directory_iterator(); ++i) {
if (i->path().extension() == ".mxf") {
try {