Commit 5131dc5a authored by Pavel Vainerman's avatar Pavel Vainerman

Исправление ошибки в DelayTimer (спасибо ilyap@etersoft.ru)

parent 801f3c9a
...@@ -85,7 +85,6 @@ class DelayTimer ...@@ -85,7 +85,6 @@ class DelayTimer
waiting_on = false; waiting_on = false;
if( st ) if( st )
state = true; state = true;
else
return state; return state;
} }
...@@ -117,6 +116,8 @@ class DelayTimer ...@@ -117,6 +116,8 @@ class DelayTimer
return state; return state;
} }
inline bool get(){ return state; }
protected: protected:
PassiveTimer pt; PassiveTimer pt;
bool prevState; bool prevState;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment