summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-02-06 12:07:54 +0000
committerCarl Hetherington <cth@carlh.net>2017-02-06 12:07:54 +0000
commitcd833a52f966ebd6860cfc53cb85172f7bff06ec (patch)
treedd9c3ef67f015d064b718617e240491027dbfc88 /src
parent568241745673e68031a72739a5e5a73ba3ee20a7 (diff)
Missing virtual destructor.
Diffstat (limited to 'src')
-rw-r--r--src/subtitle_asset_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/subtitle_asset_internal.h b/src/subtitle_asset_internal.h
index cea230af..cd6e2b9f 100644
--- a/src/subtitle_asset_internal.h
+++ b/src/subtitle_asset_internal.h
@@ -98,6 +98,8 @@ public:
, font (font_)
{}
+ virtual ~Part () {}
+
virtual xmlpp::Element* as_xml (xmlpp::Element* parent, Context &) const;
void write_xml (xmlpp::Element* parent, order::Context& context) const;