diff --git a/src/StateFile.hxx b/src/StateFile.hxx index 9ec97d518..a81b8d91f 100644 --- a/src/StateFile.hxx +++ b/src/StateFile.hxx @@ -47,9 +47,11 @@ public: void Read(); void Write(); - void AutoWrite(); private: + void AutoWrite(); + + /* virtual methods from TimeoutMonitor */ virtual bool OnTimeout() override; };