summaryrefslogtreecommitdiff
path: root/src/wx/cinema_dialog.h
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/cinema_dialog.h
parentc407bf65787162ea712595eecf9fbb409c7f0d1e (diff)
Cleanup: replace some list with vector.
Diffstat (limited to 'src/wx/cinema_dialog.h')
-rw-r--r--src/wx/cinema_dialog.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/wx/cinema_dialog.h b/src/wx/cinema_dialog.h
index a878e6055..0b8362843 100644
--- a/src/wx/cinema_dialog.h
+++ b/src/wx/cinema_dialog.h
@@ -37,7 +37,7 @@ public:
wxWindow *,
wxString,
std::string name = "",
- std::list<std::string> emails = std::list<std::string> (),
+ std::vector<std::string> emails = std::vector<std::string>(),
std::string notes = "",
int utc_offset_hour = 0,
int utc_offset_minute = 0
@@ -45,12 +45,11 @@ public:
std::string name () const;
std::string notes () const;
- std::list<std::string> emails () const;
+ std::vector<std::string> emails () const;
int utc_offset_hour () const;
int utc_offset_minute () const;
private:
- std::vector<std::string> get_emails () const;
void set_emails (std::vector<std::string>);
wxTextCtrl* _name;