--- gigedit/trunk/src/gigedit/regionchooser.h 2015/01/06 18:11:27 2695 +++ gigedit/trunk/src/gigedit/regionchooser.h 2015/08/30 10:00:49 2841 @@ -47,7 +47,7 @@ void update(gig::Instrument* instrument); gig::Region* first(); gig::Region* next(); - bool operator() (gig::Region* x, gig::Region* y) { + bool operator() (gig::Region* x, gig::Region* y) const { return x->KeyRange.low < y->KeyRange.low; } };