diff options
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/ardour/bundle.h | 2 | ||||
-rw-r--r-- | libs/ardour/bundle.cc | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/ardour/bundle.h b/libs/ardour/ardour/bundle.h index e3d56f22f5..6b8586a46a 100644 --- a/libs/ardour/ardour/bundle.h +++ b/libs/ardour/ardour/bundle.h @@ -114,6 +114,8 @@ class Bundle : public PBD::ScopedConnectionList void suspend_signals (); void resume_signals (); + bool operator== (Bundle const & other); + /** Things that might change about this bundle */ enum Change { NameChanged = 0x1, ///< the bundle name or a channel name has changed 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; +} |