projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add NamedChannel and use it to hide the never-used channels
[dcpomatic.git]
/
src
/
lib
/
types.cc
diff --git
a/src/lib/types.cc
b/src/lib/types.cc
index df57f2d47143a470b1ed88ae11a6e0ac699abf4b..e7acf6992eec60d128be640525ba4b32680abc3a 100644
(file)
--- 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;
+}
+