summaryrefslogtreecommitdiff
path: root/src/encrypted_kdm.h
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/encrypted_kdm.h
parentcbee0d077e698541afcea82a95bafcea5245ab89 (diff)
Replace std::list with std::vector in the API.
Diffstat (limited to 'src/encrypted_kdm.h')
-rw-r--r--src/encrypted_kdm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/encrypted_kdm.h b/src/encrypted_kdm.h
index 175b578f..342bedca 100644
--- a/src/encrypted_kdm.h
+++ b/src/encrypted_kdm.h
@@ -84,7 +84,7 @@ public:
* Note that the returned `keys' contain more than just the asset decryption
* keys (also key id, CPL id etc.)
*/
- std::list<std::string> keys () const;
+ std::vector<std::string> keys () const;
std::string id () const;
boost::optional<std::string> annotation_text () const;
@@ -113,8 +113,8 @@ private:
Formulation formulation,
bool disable_forensic_marking_picture,
boost::optional<int> disable_forensic_marking_audio,
- std::list<std::pair<std::string, std::string> > key_ids,
- std::list<std::string> keys
+ std::vector<std::pair<std::string, std::string>> key_ids,
+ std::vector<std::string> keys
);
data::EncryptedKDMData* _data;