Fix font_id_map errors when importing DCP subtitles that have no
[dcpomatic.git] / src / lib / position_image.h
index b78effbd53715f4277f37a76b47f7ec80c3d62fb..ee352647ca83826e0e359d857ad2928a9d96ea4b 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2014 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2014-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -18,6 +18,7 @@
 
 */
 
+
 #ifndef DCPOMATIC_POSITION_IMAGE_H
 #define DCPOMATIC_POSITION_IMAGE_H
 
 
 class Image;
 
+
 class PositionImage
 {
 public:
        PositionImage () {}
 
-       PositionImage (std::shared_ptr<Image> i, Position<int> p)
+       PositionImage (std::shared_ptr<const Image> i, Position<int> p)
                : image (i)
                , position (p)
        {}
 
-       std::shared_ptr<Image> image;
+       std::shared_ptr<const Image> image;
        Position<int> position;
 
        bool same (PositionImage const & other) const;
 };
 
+
 #endif