summaryrefslogtreecommitdiff
path: root/src/wx/video_waveform_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/video_waveform_dialog.h
parent0d35820cf50d2789752b8776683b26d04642518d (diff)
std::shared_ptr
Diffstat (limited to 'src/wx/video_waveform_dialog.h')
-rw-r--r--src/wx/video_waveform_dialog.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/wx/video_waveform_dialog.h b/src/wx/video_waveform_dialog.h
index 252720f60..25bd462ae 100644
--- a/src/wx/video_waveform_dialog.h
+++ b/src/wx/video_waveform_dialog.h
@@ -18,11 +18,13 @@
*/
+
#include "lib/warnings.h"
DCPOMATIC_DISABLE_WARNINGS
#include <wx/wx.h>
DCPOMATIC_ENABLE_WARNINGS
-#include <boost/weak_ptr.hpp>
+#include <memory>
+
class VideoWaveformPlot;
class FilmViewer;
@@ -31,7 +33,7 @@ class Film;
class VideoWaveformDialog : public wxDialog
{
public:
- VideoWaveformDialog (wxWindow* parent, boost::weak_ptr<const Film> film, boost::weak_ptr<FilmViewer> viewer);
+ VideoWaveformDialog (wxWindow* parent, std::weak_ptr<const Film> film, std::weak_ptr<FilmViewer> viewer);
private:
void shown (wxShowEvent &);
@@ -39,7 +41,7 @@ private:
void contrast_changed ();
void mouse_moved (int x1, int x2, int y1, int y2);
- boost::weak_ptr<FilmViewer> _viewer;
+ std::weak_ptr<FilmViewer> _viewer;
VideoWaveformPlot* _plot;
wxChoice* _component;
wxSlider* _contrast;