summaryrefslogtreecommitdiff
path: root/src/dcp.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-08-02 12:25:15 +0100
committerCarl Hetherington <cth@carlh.net>2012-08-02 12:25:15 +0100
commit8d94e57248b7957d62350083a93aa479457f9385 (patch)
treea3e899ab0d007b540bf4ef9fc5d3650c7df925be /src/dcp.cc
parent4f6b9809ed4c9291e2577ee8e0f3bebf15ca2629 (diff)
Tidy up equality options slightly.
Diffstat (limited to 'src/dcp.cc')
-rw-r--r--src/dcp.cc6
1 files changed, 3 insertions, 3 deletions
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<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;