diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:16:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 22:48:29 +0100 |
| commit | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (patch) | |
| tree | e56a3f82fb9e1c8602f265bea0d0688d8a018644 /src/wx/job_manager_view.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/wx/job_manager_view.h')
| -rw-r--r-- | src/wx/job_manager_view.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/wx/job_manager_view.h b/src/wx/job_manager_view.h index 2e471532f..392d7504c 100644 --- a/src/wx/job_manager_view.h +++ b/src/wx/job_manager_view.h @@ -22,16 +22,19 @@ * @brief Class which is a wxPanel for showing the progress of jobs. */ + #include "lib/warnings.h" DCPOMATIC_DISABLE_WARNINGS #include <wx/wx.h> DCPOMATIC_ENABLE_WARNINGS -#include <boost/shared_ptr.hpp> #include <list> +#include <memory> + class Job; class JobView; + /** @class JobManagerView * @brief Class which is a wxPanel for showing the progress of jobs. */ @@ -41,15 +44,15 @@ public: JobManagerView (wxWindow *, bool batch); private: - void job_added (boost::weak_ptr<Job>); + void job_added (std::weak_ptr<Job>); void periodic (); void replace (); void job_list_changed (); wxPanel* _panel; wxFlexGridSizer* _table; - boost::shared_ptr<wxTimer> _timer; + std::shared_ptr<wxTimer> _timer; bool _batch; - std::list<boost::shared_ptr<JobView> > _job_records; + std::list<std::shared_ptr<JobView> > _job_records; }; |
