summaryrefslogtreecommitdiff
path: root/src/wx/job_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-04 21:16:53 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-07 22:48:29 +0100
commitdd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (patch)
treee56a3f82fb9e1c8602f265bea0d0688d8a018644 /src/wx/job_view.h
parent0d35820cf50d2789752b8776683b26d04642518d (diff)
std::shared_ptr
Diffstat (limited to 'src/wx/job_view.h')
-rw-r--r--src/wx/job_view.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/wx/job_view.h b/src/wx/job_view.h
index d58a90831..19f746b01 100644
--- a/src/wx/job_view.h
+++ b/src/wx/job_view.h
@@ -22,7 +22,6 @@
#define DCPOMATIC_JOB_VIEW_H
#include <boost/noncopyable.hpp>
-#include <boost/shared_ptr.hpp>
#include <boost/signals2.hpp>
class Job;
@@ -40,7 +39,7 @@ class wxCheckBox;
class JobView : public boost::noncopyable
{
public:
- JobView (boost::shared_ptr<Job> job, wxWindow* parent, wxWindow* container, wxFlexGridSizer* table);
+ JobView (std::shared_ptr<Job> job, wxWindow* parent, wxWindow* container, wxFlexGridSizer* table);
virtual ~JobView () {}
virtual int insert_position () const = 0;
@@ -51,14 +50,14 @@ public:
void insert (int pos);
void detach ();
- boost::shared_ptr<Job> job () const {
+ std::shared_ptr<Job> job () const {
return _job;
}
protected:
virtual void finished ();
- boost::shared_ptr<Job> _job;
+ std::shared_ptr<Job> _job;
wxFlexGridSizer* _table;
/** sizer for buttons (cancel, details, pause etc.) */
wxBoxSizer* _buttons;