From 8d94e57248b7957d62350083a93aa479457f9385 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 2 Aug 2012 12:25:15 +0100 Subject: Tidy up equality options slightly. --- src/dcp.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dcp.cc') diff --git a/src/dcp.cc b/src/dcp.cc index cf37579f..53d6b55d 100644 --- a/src/dcp.cc +++ b/src/dcp.cc @@ -334,11 +334,11 @@ DCP::DCP (string directory) } list -DCP::equals (DCP const & other, EqualityFlags flags, double max_mean, double max_std_dev) const +DCP::equals (DCP const & other, EqualityOptions opt) const { list notes; - if (flags & LIBDCP_METADATA) { + if (opt.flags & LIBDCP_METADATA) { if (_name != other._name) { notes.push_back ("names differ"); } @@ -361,7 +361,7 @@ DCP::equals (DCP const & other, EqualityFlags flags, double max_mean, double max list >::const_iterator b = other._assets.begin (); while (a != _assets.end ()) { - list n = (*a)->equals (*b, flags, max_mean, max_std_dev); + list n = (*a)->equals (*b, opt); notes.merge (n); ++a; ++b; -- cgit v1.2.3