summaryrefslogtreecommitdiff
path: root/test/camera/camera_reconfigure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/camera/camera_reconfigure.cpp')
-rw-r--r--test/camera/camera_reconfigure.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/camera/camera_reconfigure.cpp b/test/camera/camera_reconfigure.cpp
index 0fd8ab70..f6076baa 100644
--- a/test/camera/camera_reconfigure.cpp
+++ b/test/camera/camera_reconfigure.cpp
@@ -23,6 +23,7 @@
using namespace libcamera;
using namespace std;
+using namespace std::chrono_literals;
namespace {
@@ -117,7 +118,7 @@ private:
EventDispatcher *dispatcher = Thread::current()->eventDispatcher();
Timer timer;
- timer.start(100);
+ timer.start(100ms);
while (timer.isRunning())
dispatcher->processEvents();