summaryrefslogtreecommitdiff
path: root/src/subtitle_image.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-07-25 14:51:23 +0200
committerCarl Hetherington <cth@carlh.net>2023-07-25 15:21:39 +0200
commita1e7f77e8fcfd71cc8bf94d13ceb2decbacc3b50 (patch)
treeccad61aa9701ba9b146bd8d2b804e412ebfb1787 /src/subtitle_image.h
parent085d1f2ee3322bde58ed93166d6dbde5c76f44aa (diff)
Cleanup: pass EqualityOptions as const&
This exposes a useless assignment of export_differing_subtitles, which I've removed (and altered the comment accordingly).
Diffstat (limited to 'src/subtitle_image.h')
-rw-r--r--src/subtitle_image.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subtitle_image.h b/src/subtitle_image.h
index 8b1c3521..11fd3915 100644
--- a/src/subtitle_image.h
+++ b/src/subtitle_image.h
@@ -105,7 +105,7 @@ public:
return _file;
}
- bool equals(std::shared_ptr<const dcp::Subtitle> other_sub, EqualityOptions options, NoteHandler note) const override;
+ bool equals(std::shared_ptr<const dcp::Subtitle> other_sub, EqualityOptions const& options, NoteHandler note) const override;
private:
ArrayData _png_image;