diff options
author | Hirokazu Honda <hiroh@chromium.org> | 2021-04-23 18:36:51 +0900 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-04-26 16:39:54 +0300 |
commit | 3252631fbdfce8d63353a2f77f1c1b9aa87d9855 (patch) | |
tree | aff9c81ee4fa3026190c1a5d6c1859e94a16c429 /test/hotplug-cameras.cpp | |
parent | 8a2fb73337ffe562a25b4dd9cbdf2e78046da9f3 (diff) |
libcamera: V4L2Device: Replace VLA with std::vector in getControls()
The original code uses Variable-Length-Array, which is not officially
supported in C++. This replaces the array with std::vector.
Signed-off-by: Hirokazu Honda <hiroh@chromium.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/hotplug-cameras.cpp')
0 files changed, 0 insertions, 0 deletions