diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-11 00:16:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-17 20:13:23 +0100 |
| commit | d95eacd3851a20e52202465ec22b4f72a4983dc8 (patch) | |
| tree | 1dfc1092ae7d2e6b6b7c313ad808415f578d9712 /src/decrypted_kdm.h | |
| parent | cbee0d077e698541afcea82a95bafcea5245ab89 (diff) | |
Replace std::list with std::vector in the API.
Diffstat (limited to 'src/decrypted_kdm.h')
| -rw-r--r-- | src/decrypted_kdm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decrypted_kdm.h b/src/decrypted_kdm.h index a67fdbfe..867e97ff 100644 --- a/src/decrypted_kdm.h +++ b/src/decrypted_kdm.h @@ -142,7 +142,7 @@ public: void add_key (DecryptedKDMKey key); /** @return This KDM's (decrypted) keys, which could be used to decrypt assets. */ - std::list<DecryptedKDMKey> keys () const { + std::vector<DecryptedKDMKey> keys () const { return _keys; } @@ -170,7 +170,7 @@ private: boost::optional<std::string> _annotation_text; std::string _content_title_text; std::string _issue_date; - std::list<DecryptedKDMKey> _keys; + std::vector<DecryptedKDMKey> _keys; }; } |
