diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-05-01 01:31:35 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-05-01 01:31:35 +0200 |
| commit | 8963f0007af1a312017b9627c18b82ec2a577591 (patch) | |
| tree | baeb6f2c17da72248408b8c1d695242b44edda9e /src/wx/editable_list.h | |
| parent | 29f84e2b8785585885e0658bdf9938967547460f (diff) | |
C++11 tidying.
Diffstat (limited to 'src/wx/editable_list.h')
| -rw-r--r-- | src/wx/editable_list.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/wx/editable_list.h b/src/wx/editable_list.h index f90d219f8..3f2ea0ca2 100644 --- a/src/wx/editable_list.h +++ b/src/wx/editable_list.h @@ -25,7 +25,6 @@ #include "dcpomatic_button.h" #include <wx/wx.h> #include <wx/listctrl.h> -#include <boost/function.hpp> #include <vector> class EditableListColumn @@ -60,9 +59,9 @@ public: EditableList ( wxWindow* parent, std::vector<EditableListColumn> columns, - boost::function<std::vector<T> ()> get, - boost::function<void (std::vector<T>)> set, - boost::function<std::string (T, int)> column, + std::function<std::vector<T> ()> get, + std::function<void (std::vector<T>)> set, + std::function<std::string (T, int)> column, bool can_edit = true, bool title = true ) @@ -289,10 +288,10 @@ private: ev.Skip (); } - boost::function <std::vector<T> ()> _get; - boost::function <void (std::vector<T>)> _set; + std::function <std::vector<T> ()> _get; + std::function <void (std::vector<T>)> _set; std::vector<EditableListColumn> _columns; - boost::function<std::string (T, int)> _column; + std::function<std::string (T, int)> _column; wxButton* _add; wxButton* _edit; |
