summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_camera.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-07-06 06:15:46 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-07-22 17:13:18 +0300
commit7c205c79d9284599601fa91c87282f416e53f8dc (patch)
tree8e1cdb2211e0099f09a07773db4a9185cb4e4562 /src/v4l2/v4l2_camera.h
parent539820f5d63db5e3045306fcdc70d32157fa8b28 (diff)
cam: options: Add optionName() function to Option structure
Add an Option::optionName() function that returns a string describing the option name, with leading dashes. As a result, OptionsParser::parseValueError() function becomes a single-line function and can be inlined in its caller. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/v4l2/v4l2_camera.h')
0 files changed, 0 insertions, 0 deletions