diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-06 13:29:36 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-06 13:29:36 +0100 |
| commit | 4ada3e7583dfdc658dbebca3c3603be1e3477c12 (patch) | |
| tree | 0516fdd142b79e7083ed3d455fe45fffce26a9a8 /tools | |
| parent | 86440b2afe0a2b83a7e810f37b1f65dbddee90e8 (diff) | |
Template-ize collect so that any container can be used.
Add new vertical reference of TOP_OF_SUBTITLE, and use references
with line numbers as well as proportional specifiers.
Add a couple of methods to MetricTime.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/dumpsubs.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dumpsubs.cc b/tools/dumpsubs.cc index ac582e6..7203078 100644 --- a/tools/dumpsubs.cc +++ b/tools/dumpsubs.cc @@ -82,7 +82,7 @@ main (int argc, char* argv[]) cout << i->first << ": " << i->second << "\n"; } - list<sub::Subtitle> subs = collect (reader->subtitles ()); + list<sub::Subtitle> subs = collect<list<sub::Subtitle> > (reader->subtitles ()); for (list<sub::Subtitle>::const_iterator i = subs.begin(); i != subs.end(); ++i) { cout << "Subtitle at " << i->from << " -> " << i->to << "\n"; for (list<sub::Line>::const_iterator j = i->lines.begin(); j != i->lines.end(); ++j) { |
