summaryrefslogtreecommitdiff
path: root/src/wx/hints_dialog.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/hints_dialog.h
parent0d35820cf50d2789752b8776683b26d04642518d (diff)
std::shared_ptr
Diffstat (limited to 'src/wx/hints_dialog.h')
-rw-r--r--src/wx/hints_dialog.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/wx/hints_dialog.h b/src/wx/hints_dialog.h
index 87dcf1953..4c4449a26 100644
--- a/src/wx/hints_dialog.h
+++ b/src/wx/hints_dialog.h
@@ -23,7 +23,6 @@
DCPOMATIC_DISABLE_WARNINGS
#include <wx/wx.h>
DCPOMATIC_ENABLE_WARNINGS
-#include <boost/weak_ptr.hpp>
#include <boost/signals2.hpp>
class wxRichTextCtrl;
@@ -33,7 +32,7 @@ class Hints;
class HintsDialog : public wxDialog
{
public:
- HintsDialog (wxWindow* parent, boost::weak_ptr<Film>, bool ok);
+ HintsDialog (wxWindow* parent, std::weak_ptr<Film>, bool ok);
private:
void film_change (ChangeType);
@@ -45,7 +44,7 @@ private:
void finished ();
void progress (std::string m);
- boost::weak_ptr<Film> _film;
+ std::weak_ptr<Film> _film;
wxGauge* _gauge;
wxStaticText* _gauge_message;
wxRichTextCtrl* _text;