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/wx/recipient_dialog.cc | |
| parent | c407bf65787162ea712595eecf9fbb409c7f0d1e (diff) | |
Cleanup: replace some list with vector.
Diffstat (limited to 'src/wx/recipient_dialog.cc')
| -rw-r--r-- | src/wx/recipient_dialog.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/wx/recipient_dialog.cc b/src/wx/recipient_dialog.cc index b685f884a..b166f265d 100644 --- a/src/wx/recipient_dialog.cc +++ b/src/wx/recipient_dialog.cc @@ -38,7 +38,6 @@ LIBDCP_ENABLE_WARNINGS using std::cout; -using std::list; using std::string; using std::vector; using boost::bind; @@ -56,7 +55,7 @@ column (string s) RecipientDialog::RecipientDialog ( - wxWindow* parent, wxString title, string name, string notes, list<string> emails, int utc_offset_hour, int utc_offset_minute, optional<dcp::Certificate> recipient + wxWindow* parent, wxString title, string name, string notes, vector<string> emails, int utc_offset_hour, int utc_offset_minute, optional<dcp::Certificate> recipient ) : wxDialog (parent, wxID_ANY, title) , _recipient (recipient) @@ -233,12 +232,10 @@ RecipientDialog::set_emails (vector<string> e) } -list<string> +vector<string> RecipientDialog::emails () const { - list<string> e; - copy (_emails.begin(), _emails.end(), back_inserter(e)); - return e; + return _emails; } |
