summaryrefslogtreecommitdiff
path: root/src/qcam
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-07-15 22:54:05 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-07-22 17:13:30 +0300
commit812e5a946fb74609376f2c72972ec8c86a84a19e (patch)
tree1b9ee0d13eab54759ad3442f0469ddb94c8c0636 /src/qcam
parent668c87732a53560ffbe1ea1c52a880188da11e9f (diff)
cam: options: Add empty() function to OptionValue class
Add a convenience helper to check if an option value is empty, based on the value type. This is useful as a shortcut syntax to check if an option has been set. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/qcam')
0 files changed, 0 insertions, 0 deletions