summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-10-28 23:03:38 +0200
committerCarl Hetherington <cth@carlh.net>2023-10-28 23:03:38 +0200
commitabec876997f45a7fd1f0abf469f7e97a1a2dd52f (patch)
tree9bef31636d63b9fabce180a9540a5d98605a844c
parent79ae795c797bae0d6fe94ff0238e082c582eb768 (diff)
Make sure a dynamic_pointer_cast worked.
-rw-r--r--src/wx/timeline.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc
index dbc9f4ee0..9af8c3b85 100644
--- a/src/wx/timeline.cc
+++ b/src/wx/timeline.cc
@@ -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;