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/cpl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpl.cc') diff --git a/src/cpl.cc b/src/cpl.cc index 86b738d9..f1f01b42 100644 --- a/src/cpl.cc +++ b/src/cpl.cc @@ -608,7 +608,7 @@ CPL::reel_file_assets () const bool -CPL::equals (shared_ptr other, EqualityOptions opt, NoteHandler note) const +CPL::equals(shared_ptr other, EqualityOptions const& opt, NoteHandler note) const { auto other_cpl = dynamic_pointer_cast(other); if (!other_cpl) { -- cgit v1.2.3