summaryrefslogtreecommitdiff
path: root/src/lib/string_text_file_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-02-13 23:13:54 +0100
committerCarl Hetherington <cth@carlh.net>2023-02-13 23:13:54 +0100
commitde5ad19f419a4443789236cc085a9a6b7df3ed1b (patch)
treeac66bae40b70b2797f39aa423a33c1af04728372 /src/lib/string_text_file_decoder.h
parenta488be44fa7559553036d4b081ad8e115311500b (diff)
Cleanup: use a class for the Decoder::pass() return value.
Diffstat (limited to 'src/lib/string_text_file_decoder.h')
-rw-r--r--src/lib/string_text_file_decoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/string_text_file_decoder.h b/src/lib/string_text_file_decoder.h
index c58021acb..d28a38a26 100644
--- a/src/lib/string_text_file_decoder.h
+++ b/src/lib/string_text_file_decoder.h
@@ -32,7 +32,7 @@ public:
StringTextFileDecoder (std::shared_ptr<const Film> film, std::shared_ptr<const StringTextFileContent>);
void seek (dcpomatic::ContentTime time, bool accurate) override;
- bool pass () override;
+ PassResult pass() override;
private:
dcpomatic::ContentTimePeriod content_time_period (sub::Subtitle s) const;