mirror of https://github.com/odrling/Aegisub
More const correctness in AssTime, broke build because I forgot to add const keyword to implementation too.
Originally committed to SVN as r2930.
This commit is contained in:
parent
20477198e6
commit
153cfbcd5f
|
@ -145,7 +145,7 @@ void AssTime::ParseSRT (const wxString _text) {
|
||||||
|
|
||||||
//////////////////////////////////////////
|
//////////////////////////////////////////
|
||||||
// AssTime conversion to/from miliseconds
|
// AssTime conversion to/from miliseconds
|
||||||
int AssTime::GetMS () {
|
int AssTime::GetMS () const {
|
||||||
if (!UseMSPrecision) return time/10*10;
|
if (!UseMSPrecision) return time/10*10;
|
||||||
else return time;
|
else return time;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue