diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-13 13:04:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-13 13:04:04 +0100 |
| commit | cafee6f81257fa81ee302b5d3ffa82213a0a6a44 (patch) | |
| tree | 87797f282d0bc1ca62aed44cbf98528ebeb4be86 /src/subtitle.h | |
| parent | 18f00cbcdab8eaf3db1cb5a7fba3ed78bea565fa (diff) | |
Replace list with vector in most of the API.
Diffstat (limited to 'src/subtitle.h')
| -rw-r--r-- | src/subtitle.h | 6 |
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; }; |
