From a1e7f77e8fcfd71cc8bf94d13ceb2decbacc3b50 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 25 Jul 2023 14:51:23 +0200 Subject: Cleanup: pass EqualityOptions as const& This exposes a useless assignment of export_differing_subtitles, which I've removed (and altered the comment accordingly). --- src/subtitle_image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/subtitle_image.h') 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 other_sub, EqualityOptions options, NoteHandler note) const override; + bool equals(std::shared_ptr other_sub, EqualityOptions const& options, NoteHandler note) const override; private: ArrayData _png_image; -- cgit v1.2.3