From 02ff5c5989c4e2a84e4a3be8123abdbd887f8648 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 23 Jul 2013 15:34:47 +0100 Subject: A few small cleanups. --- src/parse/subtitle.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/parse') diff --git a/src/parse/subtitle.h b/src/parse/subtitle.h index 34321545..c20278a3 100644 --- a/src/parse/subtitle.h +++ b/src/parse/subtitle.h @@ -32,7 +32,11 @@ class Font; class Text { public: - Text () {} + Text () + : v_position (0) + , v_align (TOP) + {} + Text (boost::shared_ptr node); float v_position; @@ -61,7 +65,10 @@ private: class Font { public: - Font () {} + Font () + : size (0) + {} + Font (boost::shared_ptr node); Font (std::list > const & font_nodes); -- cgit v1.2.3