const build fix.
authorCarl Hetherington <cth@carlh.net>
Thu, 21 Jan 2021 00:56:24 +0000 (01:56 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 21 Jan 2021 00:56:24 +0000 (01:56 +0100)
src/dcp_reader.cc

index 5f57746eb38f5ec409188d3a30b70168be5738f4..6c35c05dc64ed5d057c387bff5fab1360885a863 100644 (file)
@@ -73,7 +73,7 @@ DCPReader::DCPReader (boost::filesystem::path file)
        for (auto i: sc->subtitles()) {
 
                /* We don't deal with image subs */
-               auto is = dynamic_pointer_cast<dcp::SubtitleString>(i);
+               auto is = dynamic_pointer_cast<const dcp::SubtitleString>(i);
                if (!is) {
                        continue;
                }