diff options
author | Lev Dragunov <l.dragunov@corp.mail.ru> | 2015-07-31 16:43:54 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:58:43 +0300 |
commit | f260a12fdad7b85260b1effde2baee5484add400 (patch) | |
tree | d530d56df84cb7137062227c4d50f3aa08085129 /routing/router_delegate.hpp | |
parent | b15d1117ca4ab2b9310855692c93b4d1e5d93050 (diff) |
PR fixes
Diffstat (limited to 'routing/router_delegate.hpp')
-rw-r--r-- | routing/router_delegate.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routing/router_delegate.hpp b/routing/router_delegate.hpp index ba82340ed4..f2373c816e 100644 --- a/routing/router_delegate.hpp +++ b/routing/router_delegate.hpp @@ -12,13 +12,14 @@ namespace routing class TimeoutCancellable : public my::Cancellable { public: - TimeoutCancellable() : m_timeoutSec(0) {} + TimeoutCancellable(); /// Sets timeout before cancellation. 0 means an infinite timeout. void SetTimeout(uint32_t timeoutSec); // Cancellable overrides: bool IsCancelled() const override; + void Reset() override; private: my::Timer m_timer; |