diff options
author | Max Kellermann <max@duempel.org> | 2013-04-08 23:14:07 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-04-08 23:14:07 +0200 |
commit | 98cbc0ea79ce5bea637f7bd7ebe94e698cd818a0 (patch) | |
tree | a514f72181ce9b3158b25a1c5778c4477062dc06 /src/StateFile.hxx | |
parent | dca111519627813608807b60b98f3d5133880120 (diff) |
event/TimeoutMonitor: eliminate support for periodic events
No caller needs this. Fixes use-after-free after returning from
Client::OnTimeout().
Diffstat (limited to 'src/StateFile.hxx')
-rw-r--r-- | src/StateFile.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StateFile.hxx b/src/StateFile.hxx index 79693c70b..a97e4e2c3 100644 --- a/src/StateFile.hxx +++ b/src/StateFile.hxx @@ -67,7 +67,7 @@ private: bool IsModified() const; /* virtual methods from TimeoutMonitor */ - virtual bool OnTimeout() override; + virtual void OnTimeout() override; }; #endif /* STATE_FILE_H */ |