diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-08-02 12:25:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-08-02 12:25:15 +0100 |
| commit | 8d94e57248b7957d62350083a93aa479457f9385 (patch) | |
| tree | a3e899ab0d007b540bf4ef9fc5d3650c7df925be /src/dcp.cc | |
| parent | 4f6b9809ed4c9291e2577ee8e0f3bebf15ca2629 (diff) | |
Tidy up equality options slightly.
Diffstat (limited to 'src/dcp.cc')
| -rw-r--r-- | src/dcp.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -334,11 +334,11 @@ DCP::DCP (string directory) } list<string> -DCP::equals (DCP const & other, EqualityFlags flags, double max_mean, double max_std_dev) const +DCP::equals (DCP const & other, EqualityOptions opt) const { list<string> 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<shared_ptr<Asset> >::const_iterator b = other._assets.begin (); while (a != _assets.end ()) { - list<string> n = (*a)->equals (*b, flags, max_mean, max_std_dev); + list<string> n = (*a)->equals (*b, opt); notes.merge (n); ++a; ++b; |
