summaryrefslogtreecommitdiff
path: root/src/subrip_reader.cc
diff options
context:
space:
mode:
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;
}