X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fvideo_waveform_dialog.h;h=25bd462aee991422e89647215eea69e9fb358b45;hp=252720f606214764d7a328b2ee555dd328c05df9;hb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;hpb=0d35820cf50d2789752b8776683b26d04642518d 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 DCPOMATIC_ENABLE_WARNINGS -#include +#include + class VideoWaveformPlot; class FilmViewer; @@ -31,7 +33,7 @@ class Film; class VideoWaveformDialog : public wxDialog { public: - VideoWaveformDialog (wxWindow* parent, boost::weak_ptr film, boost::weak_ptr viewer); + VideoWaveformDialog (wxWindow* parent, std::weak_ptr film, std::weak_ptr 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 _viewer; + std::weak_ptr _viewer; VideoWaveformPlot* _plot; wxChoice* _component; wxSlider* _contrast;