From cafee6f81257fa81ee302b5d3ffa82213a0a6a44 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 13 Jan 2021 13:04:04 +0100 Subject: Replace list with vector in most of the API. --- src/ssa_reader.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/ssa_reader.cc') diff --git a/src/ssa_reader.cc b/src/ssa_reader.cc index c507ddb..072fff8 100644 --- a/src/ssa_reader.cc +++ b/src/ssa_reader.cc @@ -33,7 +33,6 @@ using std::string; using std::vector; using std::map; using std::cout; -using std::list; using boost::optional; using boost::function; using namespace boost::algorithm; @@ -265,7 +264,7 @@ SSAReader::parse_style (RawSubtitle& sub, string style, int play_res_x, int play * @param line SSA line string (i.e. just the subtitle, possibly with embedded stuff) * @return List of RawSubtitles to represent line with vertical reference TOP_OF_SUBTITLE. */ -list +vector SSAReader::parse_line (RawSubtitle base, string line, int play_res_x, int play_res_y) { enum { @@ -274,7 +273,7 @@ SSAReader::parse_line (RawSubtitle base, string line, int play_res_x, int play_r BACKSLASH } state = TEXT; - list subs; + vector subs; RawSubtitle current = base; string style; -- cgit v1.2.3