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/reader.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/reader.h') diff --git a/src/reader.h b/src/reader.h index 08474f6..aab7384 100644 --- a/src/reader.h +++ b/src/reader.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2014 Carl Hetherington + Copyright (C) 2014-2021 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,9 +21,9 @@ #define LIBSUB_READER_H #include "raw_subtitle.h" -#include #include #include +#include struct subrip_reader_convert_line_test; @@ -37,7 +37,7 @@ class Reader public: virtual ~Reader () {} - std::list subtitles () const { + std::vector subtitles () const { return _subs; } @@ -50,7 +50,7 @@ protected: void warn (std::string) const; - std::list _subs; + std::vector _subs; }; } -- cgit v1.2.3