libcamera/test/camera
Marvin Schmidt 7354fb3b89 test: camera: Remove redundant call of std::string::c_str()
libcamera::File::exists() takes a const reference to a std::string and
clang-tidy's readability-redundant-string-cstr check warns about it:

> ../test/camera/camera_reconfigure.cpp:182:21: warning: redundant call to 'c_str' [readability-redundant-string-cstr]
>                         if (File::exists(pname.c_str())) {
>                                          ^~~~~~~~~~~~~
>                                          pname

Signed-off-by: Marvin Schmidt <marvin.schmidt1987@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2022-08-30 15:26:38 +03:00
..
buffer_import.cpp libcamera: base: timer: Drop start() overload with int argument 2022-03-25 13:11:12 +02:00
camera_reconfigure.cpp test: camera: Remove redundant call of std::string::c_str() 2022-08-30 15:26:38 +03: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