X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Frecipient_dialog.cc;h=b166f265d0f5f1a5543046e1098944515fa4d8ac;hb=9f125fddff88bf62d36381f9d3f09e5240b033d5;hp=b685f884aab55fe5f993715ed0cafd0529893f2e;hpb=fe851f2e6e57d3a8781ecc173089c19632c521e3;p=dcpomatic.git 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 emails, int utc_offset_hour, int utc_offset_minute, optional recipient + wxWindow* parent, wxString title, string name, string notes, vector emails, int utc_offset_hour, int utc_offset_minute, optional recipient ) : wxDialog (parent, wxID_ANY, title) , _recipient (recipient) @@ -233,12 +232,10 @@ RecipientDialog::set_emails (vector e) } -list +vector RecipientDialog::emails () const { - list e; - copy (_emails.begin(), _emails.end(), back_inserter(e)); - return e; + return _emails; }