diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-11-08 00:59:42 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-11-20 07:34:23 +0100 |
| commit | 83a948956916abb7b2c13c25141323d326b38708 (patch) | |
| tree | 83bbeba8d94aa9c49dc248fdf54ff2a854f64d87 /src/wx/content_advanced_dialog.h | |
| parent | bb3a9a12116a4b2a5bc1fef38e73853f576a773a (diff) | |
Cleanup: handle Filter objects by value rather than by reference.
Diffstat (limited to 'src/wx/content_advanced_dialog.h')
| -rw-r--r-- | src/wx/content_advanced_dialog.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/content_advanced_dialog.h b/src/wx/content_advanced_dialog.h index 517ad04e5..8f27fd822 100644 --- a/src/wx/content_advanced_dialog.h +++ b/src/wx/content_advanced_dialog.h @@ -42,7 +42,7 @@ public: bool ignore_video() const; - std::vector<Filter const*> filters() { + std::vector<Filter> filters() { return _filters_list; } @@ -51,7 +51,7 @@ public: private: void edit_filters (); - void filters_changed (std::vector<Filter const *> filters); + void filters_changed(std::vector<Filter> const& filters); void setup_filters (); void set_video_frame_rate (); void video_frame_rate_changed (); @@ -60,7 +60,7 @@ private: std::shared_ptr<Content> _content; bool _filters_allowed = false; - std::vector<Filter const*> _filters_list; + std::vector<Filter> _filters_list; wxStaticText* _filters; wxButton* _filters_button; |
