--- linuxsampler/trunk/src/engines/InstrumentManager.h 2007/12/03 13:59:03 1535 +++ linuxsampler/trunk/src/engines/InstrumentManager.h 2007/12/03 16:41:17 1536 @@ -70,6 +70,10 @@ bool operator<(const instrument_id_t& o) const { return (Index < o.Index || (Index == o.Index && FileName < o.FileName)); } + + bool operator==(const instrument_id_t& o) const { + return (Index == o.Index && FileName == o.FileName); + } }; /**