Cleanup: pass EqualityOptions as const&
[libdcp.git] / src / dcp.cc
index 3b267090580e2b1b97bd0e6dadc9e43ebb5c2f77..7c253a17c82c69567dd76b6627d3298f263b6bd5 100644 (file)
@@ -337,7 +337,7 @@ DCP::resolve_refs (vector<shared_ptr<Asset>> assets)
 
 
 bool
-DCP::equals (DCP const & other, EqualityOptions opt, NoteHandler note) const
+DCP::equals(DCP const & other, EqualityOptions const& opt, NoteHandler note) const
 {
        auto a = cpls ();
        auto b = other.cpls ();