From a7042486c01e6d0c2a0bd4eb8ef6ec4441b5c499 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sun, 28 Dec 2014 20:31:33 -0800 Subject: [PATCH] Anchor AssStyle's vtable --- src/ass_style.cpp | 2 ++ src/ass_style.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ass_style.cpp b/src/ass_style.cpp index e82514653..45072b943 100644 --- a/src/ass_style.cpp +++ b/src/ass_style.cpp @@ -50,6 +50,8 @@ AssStyle::AssStyle() { UpdateData(); } +AssEntryGroup AssStyle::Group() const { return AssEntryGroup::STYLE; } + namespace { class parser { boost::split_iterator pos; diff --git a/src/ass_style.h b/src/ass_style.h index 1ec57073e..bbbf94787 100644 --- a/src/ass_style.h +++ b/src/ass_style.h @@ -74,7 +74,7 @@ public: AssStyle(std::string const& data, int version=1); std::string const& GetEntryData() const { return data; } - AssEntryGroup Group() const override { return AssEntryGroup::STYLE; } + AssEntryGroup Group() const override; /// Convert an ASS alignment to the equivalent SSA alignment static int AssToSsa(int ass_align);