Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLev Dragunov <l.dragunov@corp.mail.ru>2015-07-31 16:43:54 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:58:43 +0300
commitf260a12fdad7b85260b1effde2baee5484add400 (patch)
treed530d56df84cb7137062227c4d50f3aa08085129 /routing/router_delegate.hpp
parentb15d1117ca4ab2b9310855692c93b4d1e5d93050 (diff)
PR fixes
Diffstat (limited to 'routing/router_delegate.hpp')
-rw-r--r--routing/router_delegate.hpp3
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;