summaryrefslogtreecommitdiff
path: root/src/subtitle.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-13 13:04:04 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-13 13:04:04 +0100
commitcafee6f81257fa81ee302b5d3ffa82213a0a6a44 (patch)
tree87797f282d0bc1ca62aed44cbf98528ebeb4be86 /src/subtitle.h
parent18f00cbcdab8eaf3db1cb5a7fba3ed78bea565fa (diff)
Replace list with vector in most of the API.
Diffstat (limited to 'src/subtitle.h')
-rw-r--r--src/subtitle.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/subtitle.h b/src/subtitle.h
index 2b6867d..fba0cf4 100644
--- a/src/subtitle.h
+++ b/src/subtitle.h
@@ -29,7 +29,7 @@
#include "raw_subtitle.h"
#include <boost/optional.hpp>
#include <string>
-#include <list>
+#include <vector>
namespace sub {
@@ -90,7 +90,7 @@ public:
/** vertical position of the baseline of the text */
VerticalPosition vertical_position;
- std::list<Block> blocks;
+ std::vector<Block> blocks;
bool same_metadata (RawSubtitle) const;
};
@@ -120,7 +120,7 @@ public:
boost::optional<Time> fade_up;
boost::optional<Time> fade_down;
- std::list<Line> lines;
+ std::vector<Line> lines;
bool same_metadata (RawSubtitle) const;
};