summaryrefslogtreecommitdiff
path: root/src/cpl.cc
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/cpl.cc
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/cpl.cc')
-rw-r--r--src/cpl.cc2
1 files changed, 1 insertions, 1 deletions
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<const Asset> other, EqualityOptions opt, NoteHandler note) const
+CPL::equals(shared_ptr<const Asset> other, EqualityOptions const& opt, NoteHandler note) const
{
auto other_cpl = dynamic_pointer_cast<const CPL>(other);
if (!other_cpl) {