From 9b92e596727bcbab5df68ed72ddf59702a4a9702 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 31 May 2022 15:55:20 +0200 Subject: [PATCH] C++11 tidying. --- src/lib/content_text.h | 7 ++++++- src/lib/text_content.h | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/lib/content_text.h b/src/lib/content_text.h index 438a76a6e..d32e880ee 100644 --- a/src/lib/content_text.h +++ b/src/lib/content_text.h @@ -18,18 +18,22 @@ */ + #ifndef DCPOMATIC_CONTENT_TEXT_H #define DCPOMATIC_CONTENT_TEXT_H + +#include "bitmap_text.h" #include "dcpomatic_time.h" #include "rect.h" #include "types.h" -#include "bitmap_text.h" #include #include + class Image; + class ContentText { public: @@ -78,4 +82,5 @@ public: std::list subs; }; + #endif diff --git a/src/lib/text_content.h b/src/lib/text_content.h index d3e9b564b..66bedecf5 100644 --- a/src/lib/text_content.h +++ b/src/lib/text_content.h @@ -132,7 +132,7 @@ public: return _y_scale; } - std::list > fonts () const { + std::list> fonts () const { boost::mutex::scoped_lock lm (_mutex); return _fonts; } @@ -221,7 +221,7 @@ private: double _x_scale; /** y scale factor to apply to subtitles */ double _y_scale; - std::list > _fonts; + std::list> _fonts; boost::optional _colour; boost::optional _effect; boost::optional _effect_colour; -- 2.30.2