Cleanup: pass EqualityOptions as const&
[libdcp.git] / src / reel.cc
index 49fe0360221ddd88d72b80b83bd1f4dde904f885..454028cd0f31f5320c42121c727c24a505a8141a 100644 (file)
@@ -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");