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/dcp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dcp.h') diff --git a/src/dcp.h b/src/dcp.h index bf9b3aaf..f4b69615 100644 --- a/src/dcp.h +++ b/src/dcp.h @@ -124,7 +124,7 @@ public: * @param note Functor to handle notes made by the equality operation. * @return true if the DCPs are equal according to EqualityOptions, otherwise false. */ - bool equals (DCP const & other, EqualityOptions options, NoteHandler note) const; + bool equals(DCP const & other, EqualityOptions const& options, NoteHandler note) const; void add (std::shared_ptr cpl); -- cgit v1.2.3