From fe8251bb73765b459042b0fa841dae2d440487fd Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 21 Nov 2018 22:25:43 +0000 Subject: Remove Film pointer from clone(). --- src/wx/controls.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wx') diff --git a/src/wx/controls.cc b/src/wx/controls.cc index af1dbdf14..0fa92b69a 100644 --- a/src/wx/controls.cc +++ b/src/wx/controls.cc @@ -214,7 +214,7 @@ Controls::Controls (wxWindow* parent, shared_ptr viewer, bool editor void Controls::add_clicked () { - shared_ptr sel = selected_content()->clone(_film); + shared_ptr sel = selected_content()->clone(); DCPOMATIC_ASSERT (sel); _film->examine_and_add_content (sel); bool const ok = display_progress (_("DCP-o-matic"), _("Loading DCP")); -- cgit v1.2.3