Fix the build for older macOS.
[dcpomatic.git] / src / lib / content_video.h
index f59e99cfc65cd25cbbe57552a17648841c06527c..8ca18576e4e939f9c7b469924b6f5e63e89a8d10 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef DCPOMATIC_CONTENT_VIDEO_H
 #define DCPOMATIC_CONTENT_VIDEO_H
 
+#include "types.h"
+
 class ImageProxy;
 
 /** @class ContentVideo
@@ -31,18 +33,18 @@ class ContentVideo
 public:
        ContentVideo ()
                : frame (0)
-               , eyes (EYES_LEFT)
-               , part (PART_WHOLE)
+               , eyes (Eyes::LEFT)
+               , part (Part::WHOLE)
        {}
 
-       ContentVideo (boost::shared_ptr<const ImageProxy> i, Frame f, Eyes e, Part p)
+       ContentVideo (std::shared_ptr<const ImageProxy> i, Frame f, Eyes e, Part p)
                : image (i)
                , frame (f)
                , eyes (e)
                , part (p)
        {}
 
-       boost::shared_ptr<const ImageProxy> image;
+       std::shared_ptr<const ImageProxy> image;
        Frame frame;
        Eyes eyes;
        Part part;