summaryrefslogtreecommitdiff
path: root/src/subrip_reader.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-22 23:29:58 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-22 23:29:58 +0100
commite3d8790ae7c9f8dbbcc9cd8a1fa5c0fede26b872 (patch)
treeeb06f636fcea85567db3ba3a5d06879b44034959 /src/subrip_reader.cc
parent0901a200ef4fedf0e78a2fb38bcf70944bfb1f8e (diff)
Small C++11 tweaks.
Diffstat (limited to 'src/subrip_reader.cc')
-rw-r--r--src/subrip_reader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subrip_reader.cc b/src/subrip_reader.cc
index ab10f68..8ba7c7d 100644
--- a/src/subrip_reader.cc
+++ b/src/subrip_reader.cc
@@ -73,7 +73,7 @@ SubripReader::read (function<optional<string> ()> get_line)
rs.vertical_position.reference = TOP_OF_SUBTITLE;
while (true) {
- optional<string> line = get_line ();
+ auto line = get_line ();
if (!line) {
break;
}