Mark TimecodeRange::operator< as const

This commit is contained in:
Thomas Goyne 2012-09-24 17:14:48 -07:00
parent 30165e4392
commit 938ccfe39b

View file

@ -73,7 +73,7 @@ struct TimecodeRange {
int start; int start;
int end; int end;
double fps; double fps;
bool operator<(TimecodeRange cmp) { bool operator<(TimecodeRange const& cmp) const {
return start < cmp.start; return start < cmp.start;
} }
TimecodeRange() : fps(0.) { } TimecodeRange() : fps(0.) { }