Cleanup: use simpler ownership for FilmViewer.
[dcpomatic.git] / src / wx / markers_dialog.h
index 22af7126e29d348d1559b6cb3bd38a02020e8809..e962d44631e9fc28193b3b06f567db5f26485579 100644 (file)
@@ -34,7 +34,7 @@ class FilmViewer;
 class MarkersDialog : public wxDialog
 {
 public:
-       MarkersDialog (wxWindow* parent, std::weak_ptr<Film> film, std::weak_ptr<FilmViewer> viewer);
+       MarkersDialog (wxWindow* parent, std::weak_ptr<Film> film, FilmViewer const& viewer);
 
 private:
        std::list<std::shared_ptr<Marker>> _markers;