summaryrefslogtreecommitdiff
path: root/test/timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/timer.cpp')
-rw-r--r--test/timer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/timer.cpp b/test/timer.cpp
index addebce3..c30709d4 100644
--- a/test/timer.cpp
+++ b/test/timer.cpp
@@ -7,11 +7,11 @@
#include <iostream>
-#include <libcamera/camera_manager.h>
#include <libcamera/event_dispatcher.h>
#include <libcamera/timer.h>
#include "test.h"
+#include "thread.h"
using namespace std;
using namespace libcamera;
@@ -62,7 +62,7 @@ protected:
int run()
{
- EventDispatcher *dispatcher = CameraManager::instance()->eventDispatcher();
+ EventDispatcher *dispatcher = Thread::current()->eventDispatcher();
ManagedTimer timer;
ManagedTimer timer2;