Make sure a dynamic_pointer_cast worked.
authorCarl Hetherington <cth@carlh.net>
Sat, 28 Oct 2023 21:03:38 +0000 (23:03 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 28 Oct 2023 21:03:38 +0000 (23:03 +0200)
src/wx/timeline.cc

index dbc9f4ee0648a0012c4fd987e5eddf4235612a14..9af8c3b85cb15ae4e0b11ae1fffc326d968bfcd1 100644 (file)
@@ -321,6 +321,7 @@ place (shared_ptr<const Film> film, TimelineViewList& views, int& tracks)
                }
 
                auto cv = dynamic_pointer_cast<TimelineContentView> (i);
+               DCPOMATIC_ASSERT(cv);
 
                int t = base;