Fix operator< so that strict weak ordering is

maintained, so that key lookups work.


git-svn-id: svn://localhost/ardour2/branches/3.0@12542 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-06-02 14:53:26 +00:00
parent 6d46299df3
commit fd89d52af5

View File

@ -74,7 +74,7 @@ public:
return true;
} else if (msb == id.msb && lsb < id.lsb) {
return true;
} else if (lsb == id.lsb && program_number < id.program_number) {
} else if (msb == id.msb && lsb == id.lsb && program_number < id.program_number) {
return true;
}