X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftypes.cc;fp=src%2Flib%2Ftypes.cc;h=e7acf6992eec60d128be640525ba4b32680abc3a;hb=ba9fb85168d004d7643dc02f911fd173a136758b;hp=df57f2d47143a470b1ed88ae11a6e0ac699abf4b;hpb=d7cf091bdbbeae8187e887104d1135e93bcdf5da;p=dcpomatic.git diff --git a/src/lib/types.cc b/src/lib/types.cc index df57f2d47..e7acf6992 100644 --- a/src/lib/types.cc +++ b/src/lib/types.cc @@ -222,3 +222,10 @@ CPLSummary::CPLSummary (boost::filesystem::path p) last_write_time = boost::filesystem::last_write_time (p); } + + +bool operator== (NamedChannel const& a, NamedChannel const& b) +{ + return a.name == b.name && a.index == b.index; +} +