Fix crash when adding cinemas while a search is in force (#2378).
[dcpomatic.git] / src / wx / standard_controls.h
index 4e0e836e86cf14be571ddc6153f0c0414eaec7cd..1b8618763313eedc264694b4eb95acd3eb747718 100644 (file)
@@ -25,7 +25,7 @@
 class StandardControls : public Controls
 {
 public:
-       StandardControls (wxWindow* parent, std::shared_ptr<FilmViewer> viewer, bool editor_controls);
+       StandardControls(wxWindow* parent, FilmViewer& viewer, bool editor_controls);
 
        void play () override;
        void stop () override;