summaryrefslogtreecommitdiff
path: root/src/wx/recipient_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-05-18 22:21:33 +0200
committerCarl Hetherington <cth@carlh.net>2023-05-18 22:21:33 +0200
commit9f125fddff88bf62d36381f9d3f09e5240b033d5 (patch)
tree586e3040791a634f58e3c0d04e7550490af732f6 /src/wx/recipient_dialog.cc
parentc407bf65787162ea712595eecf9fbb409c7f0d1e (diff)
Cleanup: replace some list with vector.
Diffstat (limited to 'src/wx/recipient_dialog.cc')
-rw-r--r--src/wx/recipient_dialog.cc9
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;
}