diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-07-25 14:51:23 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-07-25 15:21:39 +0200 |
| commit | a1e7f77e8fcfd71cc8bf94d13ceb2decbacc3b50 (patch) | |
| tree | ccad61aa9701ba9b146bd8d2b804e412ebfb1787 /src/reel.cc | |
| parent | 085d1f2ee3322bde58ed93166d6dbde5c76f44aa (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/reel.cc')
| -rw-r--r-- | src/reel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<const Reel> other, EqualityOptions opt, NoteHandler note) const +Reel::equals(std::shared_ptr<const Reel> 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"); |
