Remove unnecessary method.
authorCarl Hetherington <cth@carlh.net>
Tue, 11 Sep 2018 10:26:08 +0000 (11:26 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 11 Sep 2018 10:26:08 +0000 (11:26 +0100)
src/lib/string_text.h
test/render_subtitles_test.cc

index feef90d..4f49581 100644 (file)
 class StringText : public dcp::SubtitleString
 {
 public:
-       explicit StringText (dcp::SubtitleString dcp_)
-               : dcp::SubtitleString (dcp_)
-               , outline_width (2)
-       {}
-
        StringText (dcp::SubtitleString dcp_, int outline_width_)
                : dcp::SubtitleString (dcp_)
                , outline_width (outline_width_)
index 68b1920..29c6c99 100644 (file)
@@ -52,7 +52,8 @@ add (std::list<StringText>& s, std::string text, bool italic, bool bold, bool un
                                dcp::Colour (0, 0, 0),
                                dcp::Time (),
                                dcp::Time ()
-                               )
+                               ),
+                       2
                        )
                );
 }