Commit f9fa80af authored by Pavel Vainerman's avatar Pavel Vainerman

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

parent 53f0a987
...@@ -84,7 +84,6 @@ class DelayTimer ...@@ -84,7 +84,6 @@ class DelayTimer
waiting_on = false; waiting_on = false;
if( st ) if( st )
state = true; state = true;
else
return state; return state;
} }
...@@ -116,6 +115,8 @@ class DelayTimer ...@@ -116,6 +115,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