diff plugin/transform/TransformDescription.h @ 358:9203b82a8c53

* better handling of cases with more than one copy of the same plugin in different libraries -- a bit mad, but it happened to me
author Chris Cannam
date Wed, 09 Jan 2008 17:09:44 +0000
parents d7c41483af8f
children
line wrap: on
line diff
--- a/plugin/transform/TransformDescription.h	Fri Jan 04 17:08:10 2008 +0000
+++ b/plugin/transform/TransformDescription.h	Wed Jan 09 17:09:44 2008 +0000
@@ -66,7 +66,9 @@
     bool configurable;
     
     bool operator<(const TransformDescription &od) const {
-        return (name < od.name);
+        return
+            (name <  od.name) ||
+            (name == od.name && identifier < od.identifier);
     };
 };