diff options
Diffstat (limited to 'src/raw_subtitle.cc')
| -rw-r--r-- | src/raw_subtitle.cc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/raw_subtitle.cc b/src/raw_subtitle.cc index 24f1a8e..818bb15 100644 --- a/src/raw_subtitle.cc +++ b/src/raw_subtitle.cc @@ -24,13 +24,5 @@ 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.metric() && b.from.metric()) { - return a.from.metric().get() < b.from.metric().get(); - } - - assert (false); + return a.from < b.from; } |
