C++11 tidying.
[dcpomatic.git] / src / lib / position_image.h
index 3e6d833e78a996a32b301df7446d0d85f0aa3313..2b7e7080a68df0bcb8e7228ae21cd2f6827c344b 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.
 
 
 */
 
+
 #ifndef DCPOMATIC_POSITION_IMAGE_H
 #define DCPOMATIC_POSITION_IMAGE_H
 
+
 #include "position.h"
-#include <boost/shared_ptr.hpp>
+#include <memory>
+
 
 class Image;
 
+
 class PositionImage
 {
 public:
        PositionImage () {}
 
-       PositionImage (boost::shared_ptr<Image> i, Position<int> p)
+       PositionImage (std::shared_ptr<Image> i, Position<int> p)
                : image (i)
                , position (p)
        {}
 
-       boost::shared_ptr<Image> image;
+       std::shared_ptr<Image> image;
        Position<int> position;
 
        bool same (PositionImage const & other) const;
 };
 
+
 #endif