diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-06-21 23:08:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-06-21 23:08:53 +0100 |
| commit | a8a0dfd1b21de6c0facf965ab119833ff6f790bf (patch) | |
| tree | 88bd3a7dd6d4ae56a1efa9b7443c341550759869 /src/wx/job_manager_view.cc | |
| parent | e669b562937786bf5b771c927cc03a4074b01be8 (diff) | |
Revert "Use make_shared<>."
Support for this seems to vary wildly across DoM's build
targets. Stuff that builds on 16.04 won't build on 14.04,
for example. Seems to not be worth the hassle now.
This reverts commit 5a5324ed3a381a86dfe0a6e3932c1d58fdcd596f.
Diffstat (limited to 'src/wx/job_manager_view.cc')
| -rw-r--r-- | src/wx/job_manager_view.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/wx/job_manager_view.cc b/src/wx/job_manager_view.cc index cba221784..cd6918b72 100644 --- a/src/wx/job_manager_view.cc +++ b/src/wx/job_manager_view.cc @@ -19,7 +19,7 @@ */ /** @file src/job_manager_view.cc - * @brief Class generating a widget to show the progress of jobs. + * @brief Class generating a GTK widget to show the progress of jobs. */ #include "job_manager_view.h" @@ -30,7 +30,6 @@ #include "lib/util.h" #include "lib/exceptions.h" #include "lib/compose.hpp" -#include <boost/make_shared.hpp> #include <iostream> using std::string; @@ -39,7 +38,6 @@ using std::map; using std::min; using std::cout; using boost::shared_ptr; -using boost::make_shared; using boost::weak_ptr; /** Must be called in the GUI thread */ @@ -70,7 +68,7 @@ JobManagerView::job_added (weak_ptr<Job> j) { shared_ptr<Job> job = j.lock (); if (job) { - _job_records.push_back (make_shared<JobView> (job, this, _panel, _table)); + _job_records.push_back (shared_ptr<JobView> (new JobView (job, this, _panel, _table))); } } |
