diff options
author | Barnabás Pőcze <pobrn@protonmail.com> | 2023-02-13 16:43:06 +0000 |
---|---|---|
committer | Umang Jain <umang.jain@ideasonboard.com> | 2023-02-15 01:32:05 +0530 |
commit | 58e0b6e18c425072a47594f42fc0b61801403aca (patch) | |
tree | 2309b5980b1073117ad4f7ea5d996a47237342e8 /test/v4l2_videodevice/v4l2_m2mdevice.cpp | |
parent | 02f0492c55f293b6a00ee702cee51b5f1b1c2e50 (diff) |
apps: Return std::optional<> from StreamKeyValueParser::parseRole()
Instead of having bool return type and an out parameter, use
std::optional<libcamera::StreamRole> to return from
StreamKeyValueParser::parseRole().
Meanwhile at it, re-word an existing comment to make it lucid.
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'test/v4l2_videodevice/v4l2_m2mdevice.cpp')
0 files changed, 0 insertions, 0 deletions