diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-05-18 22:21:33 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-05-18 22:21:33 +0200 |
| commit | 9f125fddff88bf62d36381f9d3f09e5240b033d5 (patch) | |
| tree | 586e3040791a634f58e3c0d04e7550490af732f6 /src/lib/cinema.h | |
| parent | c407bf65787162ea712595eecf9fbb409c7f0d1e (diff) | |
Cleanup: replace some list with vector.
Diffstat (limited to 'src/lib/cinema.h')
| -rw-r--r-- | src/lib/cinema.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/cinema.h b/src/lib/cinema.h index c17454db9..6c202a7bf 100644 --- a/src/lib/cinema.h +++ b/src/lib/cinema.h @@ -44,7 +44,7 @@ namespace dcpomatic { class Cinema : public std::enable_shared_from_this<Cinema> { public: - Cinema (std::string const & name_, std::list<std::string> const & e, std::string notes_, int utc_offset_hour, int utc_offset_minute) + Cinema(std::string const & name_, std::vector<std::string> const & e, std::string notes_, int utc_offset_hour, int utc_offset_minute) : name (name_) , emails (e) , notes (notes_) @@ -65,7 +65,7 @@ public: void set_utc_offset_minute (int m); std::string name; - std::list<std::string> emails; + std::vector<std::string> emails; std::string notes; int utc_offset_hour () const { @@ -76,12 +76,12 @@ public: return _utc_offset_minute; } - std::list<std::shared_ptr<dcpomatic::Screen>> screens () const { + std::vector<std::shared_ptr<dcpomatic::Screen>> screens() const { return _screens; } private: - std::list<std::shared_ptr<dcpomatic::Screen>> _screens; + std::vector<std::shared_ptr<dcpomatic::Screen>> _screens; /** Offset such that the equivalent time in UTC can be determined by subtracting the offset from the local time. */ |
