Initialize FbTk::Timer.m_timeout correctly
This commit is contained in:
parent
fe2d9476d5
commit
7c26156842
1 changed files with 4 additions and 2 deletions
|
@ -77,7 +77,8 @@ namespace FbTk {
|
||||||
Timer::Timer() :
|
Timer::Timer() :
|
||||||
m_once(false),
|
m_once(false),
|
||||||
m_interval(0),
|
m_interval(0),
|
||||||
m_start(0) {
|
m_start(0),
|
||||||
|
m_timeout(0) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -85,7 +86,8 @@ Timer::Timer(const RefCount<Slot<void> > &handler):
|
||||||
m_handler(handler),
|
m_handler(handler),
|
||||||
m_once(false),
|
m_once(false),
|
||||||
m_interval(0),
|
m_interval(0),
|
||||||
m_start(0) {
|
m_start(0),
|
||||||
|
m_timeout(0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue