libcamera/test/camera
Laurent Pinchart 54398c1583 libcamera: base: timer: Drop start() overload with int argument
The start(unsigned int msec) overload is error-prone, as the argument
unit can easily be mistaken in callers. Drop it and update all callers
to use the start(std::chrono::milliseconds) overload instead.

The callers now need to use std::chrono_literals. The using statement
could be added to timer.h for convenience, but "using" is discouraged in
header files to avoid namespace pollution. Update the callers instead,
and while at it, sort the "using" statements alphabetically in tests.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
2022-03-25 13:11:12 +02:00
..
buffer_import.cpp libcamera: base: timer: Drop start() overload with int argument 2022-03-25 13:11:12 +02:00
camera_reconfigure.cpp libcamera: base: timer: Drop start() overload with int argument 2022-03-25 13:11:12 +02:00
capture.cpp libcamera: base: timer: Drop start() overload with int argument 2022-03-25 13:11:12 +02:00
configuration_default.cpp test: Remove using namespace in header files 2021-10-15 05:05:43 +03:00
configuration_set.cpp test: Remove using namespace in header files 2021-10-15 05:05:43 +03:00
meson.build test: camera: Camera reconfiguration and fd-leak test 2021-08-19 13:16:15 +05:30
statemachine.cpp test: Remove using namespace in header files 2021-10-15 05:05:43 +03:00