summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_compat_manager.cpp
diff options
context:
space:
mode:
authorTommaso Merciai <tommaso.merciai@amarulasolutions.com>2022-06-13 10:27:25 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-17 13:22:45 +0300
commitf44ce70d9b8859c319e5c814584684ff61e3b6fa (patch)
tree915a518b5e2d2ebbbd079592ef0fbe1b5f466fae /src/v4l2/v4l2_compat_manager.cpp
parent71bdc1e441eba73ad80272573503445648d5ea9c (diff)
Documentation: Fix createRequest unique_ptr
camera->createRequest() function return std::unique_ptr<Request>, then manipulate Request as std::unique_ptr. This solve the following error, during compilation: error: cannot convert ‘std::unique_ptr<libcamera::Request>’ to ‘libcamera::Request*’ in initialization References: - https://github.com/kbingham/simple-cam/blob/bb97f3bbd96a9d347e1b7f6cb68d94efaf8db574/simple-cam.cpp#L369 Signed-off-by: Tommaso Merciai <tommaso.merciai@amarulasolutions.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/v4l2/v4l2_compat_manager.cpp')
0 files changed, 0 insertions, 0 deletions