diff options
Diffstat (limited to 'test/camera/buffer_import.cpp')
-rw-r--r-- | test/camera/buffer_import.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/camera/buffer_import.cpp b/test/camera/buffer_import.cpp index c504ea09..92884004 100644 --- a/test/camera/buffer_import.cpp +++ b/test/camera/buffer_import.cpp @@ -25,6 +25,7 @@ #include "test.h" using namespace libcamera; +using namespace std::chrono_literals; namespace { @@ -135,7 +136,7 @@ protected: EventDispatcher *dispatcher = Thread::current()->eventDispatcher(); Timer timer; - timer.start(1000); + timer.start(1000ms); while (timer.isRunning()) dispatcher->processEvents(); |