mirror of https://github.com/odrling/Aegisub
Mark TimecodeRange::operator< as const
This commit is contained in:
parent
30165e4392
commit
938ccfe39b
|
@ -73,7 +73,7 @@ struct TimecodeRange {
|
|||
int start;
|
||||
int end;
|
||||
double fps;
|
||||
bool operator<(TimecodeRange cmp) {
|
||||
bool operator<(TimecodeRange const& cmp) const {
|
||||
return start < cmp.start;
|
||||
}
|
||||
TimecodeRange() : fps(0.) { }
|
||||
|
|
Loading…
Reference in New Issue