diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-12 20:02:39 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-12 20:02:39 +0000 |
| commit | 670020792233d50b14363e54db6808733d5d2171 (patch) | |
| tree | fb1c79324f4402cf343c38691dd6e4b06fd6deb9 /src/raw_subtitle.cc | |
| parent | dbdc438c066ee2a80943b9494e78db19905f9fa9 (diff) | |
More various work.
Diffstat (limited to 'src/raw_subtitle.cc')
| -rw-r--r-- | src/raw_subtitle.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/raw_subtitle.cc b/src/raw_subtitle.cc index f80d6e7..24f1a8e 100644 --- a/src/raw_subtitle.cc +++ b/src/raw_subtitle.cc @@ -24,12 +24,12 @@ using namespace sub; bool sub::operator< (RawSubtitle const & a, RawSubtitle const & b) { - if (a.from.optional_frame() && b.from.optional_frame()) { - return a.from.optional_frame().get() < b.from.optional_frame().get(); + if (a.from.frame() && b.from.frame()) { + return a.from.frame().get() < b.from.frame().get(); } - if (a.from.optional_metric() && b.from.optional_metric()) { - return a.from.optional_metric().get() < b.from.optional_metric().get(); + if (a.from.metric() && b.from.metric()) { + return a.from.metric().get() < b.from.metric().get(); } assert (false); |
