summaryrefslogtreecommitdiff
path: root/src/combine.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 /src/combine.cc
parentcbee0d077e698541afcea82a95bafcea5245ab89 (diff)
Replace std::list with std::vector in the API.
Diffstat (limited to 'src/combine.cc')
-rw-r--r--src/combine.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/combine.cc b/src/combine.cc
index 5c9a1087..cd91d5b1 100644
--- a/src/combine.cc
+++ b/src/combine.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2020 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2020-2021 Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
@@ -48,7 +48,6 @@
#include <vector>
-using std::list;
using std::map;
using std::set;
using std::string;
@@ -121,8 +120,8 @@ dcp::combine (
}
}
- list<path> paths;
- list<shared_ptr<dcp::Asset> > assets;
+ vector<path> paths;
+ vector<shared_ptr<dcp::Asset>> assets;
BOOST_FOREACH (path i, inputs) {
DCP dcp (i);