diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:16:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 22:48:29 +0100 |
| commit | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (patch) | |
| tree | e56a3f82fb9e1c8602f265bea0d0688d8a018644 /src/lib/position_image.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/lib/position_image.h')
| -rw-r--r-- | src/lib/position_image.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/position_image.h b/src/lib/position_image.h index 3e6d833e7..b78effbd5 100644 --- a/src/lib/position_image.h +++ b/src/lib/position_image.h @@ -21,8 +21,10 @@ #ifndef DCPOMATIC_POSITION_IMAGE_H #define DCPOMATIC_POSITION_IMAGE_H + #include "position.h" -#include <boost/shared_ptr.hpp> +#include <memory> + class Image; @@ -31,12 +33,12 @@ 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; |
