mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-13 07:19:45 +03:00
Documentation: Add the missing const to the example code
Request::BufferMap key type is now const Signed-off-by: Daniel Semkowicz <dse@thaumatec.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
f44ce70d9b
commit
14ae86f0c9
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ images.
|
||||||
|
|
||||||
.. code:: cpp
|
.. code:: cpp
|
||||||
|
|
||||||
const std::map<Stream *, FrameBuffer *> &buffers = request->buffers();
|
const std::map<const Stream *, FrameBuffer *> &buffers = request->buffers();
|
||||||
|
|
||||||
Iterating through the map allows applications to inspect each completed buffer
|
Iterating through the map allows applications to inspect each completed buffer
|
||||||
in this request, and access the metadata associated to each frame.
|
in this request, and access the metadata associated to each frame.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue