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/emailer.cc | |
| parent | c407bf65787162ea712595eecf9fbb409c7f0d1e (diff) | |
Cleanup: replace some list with vector.
Diffstat (limited to 'src/lib/emailer.cc')
| -rw-r--r-- | src/lib/emailer.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/emailer.cc b/src/lib/emailer.cc index e21bbfe2d..f580e3c56 100644 --- a/src/lib/emailer.cc +++ b/src/lib/emailer.cc @@ -31,15 +31,15 @@ using std::cout; -using std::list; using std::min; using std::pair; using std::shared_ptr; using std::string; +using std::vector; using dcp::ArrayData; -Emailer::Emailer (string from, list<string> to, string subject, string body) +Emailer::Emailer(string from, vector<string> to, string subject, string body) : _from (from) , _to (to) , _subject (subject) @@ -247,7 +247,7 @@ Emailer::send (string server, int port, EmailProtocol protocol, string user, str string -Emailer::address_list (list<string> addresses) +Emailer::address_list(vector<string> addresses) { string o; for (auto i: addresses) { |
