summaryrefslogtreecommitdiff
path: root/libs/ardour/bundle.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-03 03:04:51 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-03 03:04:51 +0000
commit3e36dc77467139f530f15fcbf42a1d5c6960502f (patch)
treeea0d93ebeadbe4e47fca874bf33454748fb86240 /libs/ardour/bundle.cc
parent11d604dea3a4be4bffa3a2c5a9b80ae03f39512c (diff)
Don't offer inputs to things as possible output connections, and vice versa (part of #4432).
git-svn-id: svn://localhost/ardour2/branches/3.0@10410 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/bundle.cc')
-rw-r--r--libs/ardour/bundle.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/bundle.cc b/libs/ardour/bundle.cc
index 1948024d91..d8666c5bbb 100644
--- a/libs/ardour/bundle.cc
+++ b/libs/ardour/bundle.cc
@@ -511,3 +511,9 @@ operator<< (ostream& os, Bundle const & b)
return os;
}
+
+bool
+Bundle::operator== (Bundle const & other)
+{
+ return _channel == other._channel;
+}