C++11 tidying.
authorCarl Hetherington <cth@carlh.net>
Tue, 31 May 2022 13:55:20 +0000 (15:55 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 7 Jun 2022 15:01:06 +0000 (17:01 +0200)
src/lib/content_text.h
src/lib/text_content.h

index 438a76a6e17870fe2b7f52e4a52d51515c71125a..d32e880eedac9f25cd5e50e16620e16e4c41be04 100644 (file)
 
 */
 
+
 #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 <dcp/subtitle_string.h>
 #include <list>
 
+
 class Image;
 
+
 class ContentText
 {
 public:
@@ -78,4 +82,5 @@ public:
        std::list<dcp::SubtitleString> subs;
 };
 
+
 #endif
index d3e9b564b389fcb8787397ff43cefd6660ae1382..66bedecf51007c9e030cf3f01d3261ecc5eb5dfa 100644 (file)
@@ -132,7 +132,7 @@ public:
                return _y_scale;
        }
 
-       std::list<std::shared_ptr<dcpomatic::Font> > fonts () const {
+       std::list<std::shared_ptr<dcpomatic::Font>> 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<std::shared_ptr<dcpomatic::Font> > _fonts;
+       std::list<std::shared_ptr<dcpomatic::Font>> _fonts;
        boost::optional<dcp::Colour> _colour;
        boost::optional<dcp::Effect> _effect;
        boost::optional<dcp::Colour> _effect_colour;