diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-12 17:20:54 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-12 17:20:54 +0000 |
| commit | fd1d21f713e9b0abd8afebcbab36d70aac9b6cce (patch) | |
| tree | c6c8a1907a64550fb2e6b6d7f4757c0a4d85fb17 /src/raw_subtitle.cc | |
| parent | 94399f35aea4e37c699918f06eddfa931e4aaefc (diff) | |
Un-compiling work-in-progress.
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 24f1a8e..f80d6e7 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.frame() && b.from.frame()) { - return a.from.frame().get() < b.from.frame().get(); + if (a.from.optional_frame() && b.from.optional_frame()) { + return a.from.optional_frame().get() < b.from.optional_frame().get(); } - if (a.from.metric() && b.from.metric()) { - return a.from.metric().get() < b.from.metric().get(); + if (a.from.optional_metric() && b.from.optional_metric()) { + return a.from.optional_metric().get() < b.from.optional_metric().get(); } assert (false); |
