Replace std::list with std::vector in the API.
[libdcp.git] / src / pkl.h
index a27a9a33aca7a1ccfd3222aac4dd4307fa6d09dd..0ea87219ce944c7b436d8b219a8808b8b70b2ea5 100644 (file)
--- a/src/pkl.h
+++ b/src/pkl.h
@@ -103,7 +103,7 @@ private:
        std::string _issue_date;
        std::string _issuer;
        std::string _creator;
-       std::list<std::shared_ptr<Asset> > _asset_list;
+       std::vector<std::shared_ptr<Asset>> _asset_list;
        /** The most recent disk file used to read or write this PKL */
        mutable boost::optional<boost::filesystem::path> _file;
 };