mirror of https://github.com/fltk/fltk
Remove "warning: extended initializer lists only available with …"
This commit is contained in:
parent
2c528b816c
commit
2bbdd49465
|
@ -81,7 +81,12 @@ Fl_Timestamp Fl::now() {
|
|||
}
|
||||
|
||||
/** The time stamp of a time point in the distant past */
|
||||
const Fl_Timestamp Fl::distant_past() { return {LONG_MIN/10, 0}; }
|
||||
const Fl_Timestamp Fl::distant_past() {
|
||||
Fl_Timestamp ts;
|
||||
ts.sec = LONG_MIN/10;
|
||||
ts.usec = 0;
|
||||
return (const Fl_Timestamp)ts;
|
||||
}
|
||||
|
||||
/**
|
||||
Return the time in seconds between now and a previously taken time stamp.
|
||||
|
|
Loading…
Reference in New Issue