From dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 4 Jan 2021 21:16:53 +0100 Subject: std::shared_ptr --- src/lib/bitmap_text.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/lib/bitmap_text.h') diff --git a/src/lib/bitmap_text.h b/src/lib/bitmap_text.h index 2314c2db0..b8861c10a 100644 --- a/src/lib/bitmap_text.h +++ b/src/lib/bitmap_text.h @@ -21,20 +21,22 @@ #ifndef DCPOMATIC_BITMAP_CAPTION_H #define DCPOMATIC_BITMAP_CAPTION_H + #include "rect.h" -#include +#include + class Image; class BitmapText { public: - BitmapText (boost::shared_ptr i, dcpomatic::Rect r) + BitmapText (std::shared_ptr i, dcpomatic::Rect r) : image (i) , rectangle (r) {} - boost::shared_ptr image; + std::shared_ptr image; /** Area that the subtitle covers on its corresponding video, expressed in * proportions of the image size; e.g. rectangle.x = 0.5 would mean that * the rectangle starts half-way across the video. -- cgit v1.2.3