diff options
author | Marvin Schmidt <marvin.schmidt1987@gmail.com> | 2022-08-29 20:58:47 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-08-30 15:26:38 +0300 |
commit | 7354fb3b890bba37c81d70fc47f551d18be5c9ba (patch) | |
tree | 9574808647181fe8bcd4623577a419fe703531dc /utils/raspberrypi/ctt/ctt_geq.py | |
parent | 18764a15c7062e241df3ffb587bf44d0c14c898d (diff) |
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>
Diffstat (limited to 'utils/raspberrypi/ctt/ctt_geq.py')
0 files changed, 0 insertions, 0 deletions