summaryrefslogtreecommitdiff
path: root/test/timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/timer.cpp')
-rw-r--r--test/timer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/timer.cpp b/test/timer.cpp
index 6a3cda70..e47cb21b 100644
--- a/test/timer.cpp
+++ b/test/timer.cpp
@@ -19,7 +19,8 @@ using namespace libcamera;
class ManagedTimer : public Timer
{
public:
- ManagedTimer() : Timer()
+ ManagedTimer()
+ : Timer(), interval_(0)
{
timeout.connect(this, &ManagedTimer::timeoutHandler);
}