mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 20:06:18 +08:00
Fl_Timeout: Remove compiler warning [-Wclass-memaccess]
Also: fix doxygen warning
This commit is contained in:
+1
-1
@@ -319,7 +319,7 @@ Fl_Timeout *Fl_Timeout::get(double time, Fl_Timeout_Handler cb, void *data) {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
memset(t, 0, sizeof(*t));
|
t->next = 0;
|
||||||
t->delay(time);
|
t->delay(time);
|
||||||
t->callback = cb;
|
t->callback = cb;
|
||||||
t->data = data;
|
t->data = data;
|
||||||
|
|||||||
@@ -146,8 +146,6 @@ protected:
|
|||||||
used like a stack (last in, first out).
|
used like a stack (last in, first out).
|
||||||
|
|
||||||
\see Fl_Timeout::push() Member function (method)
|
\see Fl_Timeout::push() Member function (method)
|
||||||
\see Fl_Timeout *Fl_Timeout::pop() Static function
|
|
||||||
\see Fl_Timeout *Fl_Timeout::current() TStatic function
|
|
||||||
*/
|
*/
|
||||||
static Fl_Timeout *current_timeout; // list of "current" timeouts
|
static Fl_Timeout *current_timeout; // list of "current" timeouts
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user