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:
committed by
Laurent Pinchart
parent
f44ce70d9b
commit
14ae86f0c9
@@ -410,7 +410,7 @@ images.
|
||||
|
||||
.. 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
|
||||
in this request, and access the metadata associated to each frame.
|
||||
|
||||
Reference in New Issue
Block a user