summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/plugin_manager.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-01-22 11:57:51 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-01-22 11:57:51 +0000
commitd3f41d095010928a01bf5cc04a9926173acb4658 (patch)
tree56d9257259430a1a9523e5e764843022003569c8 /libs/ardour/ardour/plugin_manager.h
parentad4506daadd7bb0a399e683509d3cb5e29a49b9d (diff)
plugin status fixes from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@6539 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/plugin_manager.h')
-rw-r--r--libs/ardour/ardour/plugin_manager.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/ardour/ardour/plugin_manager.h b/libs/ardour/ardour/plugin_manager.h
index 14c4190787..302b6d2bc9 100644
--- a/libs/ardour/ardour/plugin_manager.h
+++ b/libs/ardour/ardour/plugin_manager.h
@@ -86,7 +86,12 @@ class PluginManager : public boost::noncopyable {
}
bool operator<(const PluginStatus& other) const {
- return other.type < type || other.unique_id < unique_id;
+ if (other.type < type) {
+ return true;
+ } else if (other.type == type && other.unique_id < unique_id) {
+ return true;
+ }
+ return false;
}
};
typedef std::set<PluginStatus> PluginStatusList;