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/reel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/reel.cc') diff --git a/src/reel.cc b/src/reel.cc index 49fe0360..454028cd 100644 --- a/src/reel.cc +++ b/src/reel.cc @@ -179,7 +179,7 @@ Reel::write_to_cpl (xmlpp::Element* node, Standard standard) const bool -Reel::equals (std::shared_ptr other, EqualityOptions opt, NoteHandler note) const +Reel::equals(std::shared_ptr other, EqualityOptions const& opt, NoteHandler note) const { if ((_main_picture && !other->_main_picture) || (!_main_picture && other->_main_picture)) { note (NoteType::ERROR, "Reel: picture assets differ"); -- cgit v1.2.3