forked from mia/Aegisub
Mark TimecodeRange::operator< as const
This commit is contained in:
parent
30165e4392
commit
938ccfe39b
1 changed files with 1 additions and 1 deletions
|
@ -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.) { }
|
||||||
|
|
Loading…
Reference in a new issue