Cleanup: replace some list with vector.
[dcpomatic.git] / src / lib / dkdm_recipient.h
index d08f82daafa0e618f5b63ffb71b4055099ed6f1f..7a0fa01854c271347fbc96f151367e8b453cb21b 100644 (file)
@@ -33,11 +33,11 @@ public:
                std::string const& name_,
                std::string const& notes_,
                boost::optional<dcp::Certificate> recipient_,
-               std::list<std::string> emails_,
+               std::vector<std::string> emails_,
                int utc_offset_hour_,
                int utc_offset_minute_
                )
-               : KDMRecipient (name_, notes_, recipient_)
+               : KDMRecipient (name_, notes_, recipient_, boost::none)
                , emails (emails_)
                , utc_offset_hour (utc_offset_hour_)
                , utc_offset_minute (utc_offset_minute_)
@@ -47,9 +47,9 @@ public:
 
        explicit DKDMRecipient (cxml::ConstNodePtr);
 
-       void as_xml (xmlpp::Element *) const;
+       void as_xml (xmlpp::Element *) const override;
 
-       std::list<std::string> emails;
+       std::vector<std::string> emails;
        int utc_offset_hour;
        int utc_offset_minute;
 };