diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-08-28 00:05:54 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-20 19:30:46 +0200 |
| commit | b509d21444a1f486b8713a1a652c0f816b2af0cb (patch) | |
| tree | bbf2a5d87e473441449e712e7dbd22845ffe76e6 /src | |
| parent | b789839b6c6a9d9df63818fb88d117c2bde22660 (diff) | |
Use vector for the Ratings list.
Diffstat (limited to 'src')
| -rw-r--r-- | src/cpl.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -152,11 +152,11 @@ public: void set_content_versions (std::vector<ContentVersion> v); - std::list<Rating> ratings () const { + std::vector<Rating> ratings () const { return _ratings; } - void set_ratings (std::list<Rating> r) { + void set_ratings (std::vector<Rating> r) { _ratings = r; } @@ -177,8 +177,8 @@ private: std::string _annotation_text; std::string _content_title_text; ///< <ContentTitleText> ContentKind _content_kind; ///< <ContentKind> - std::list<Rating> _ratings; std::vector<ContentVersion> _content_versions; + std::vector<Rating> _ratings; std::list<boost::shared_ptr<Reel> > _reels; |
