summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDaniel Semkowicz <dse@thaumatec.com>2022-06-17 16:35:47 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-17 18:08:48 +0300
commit14ae86f0c92192f8da8a566bbe488e541af14ee9 (patch)
tree697c98fea501d29e6b04dcd74d5b9ab7443a76c4 /Documentation
parentf44ce70d9b8859c319e5c814584684ff61e3b6fa (diff)
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/guides/application-developer.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/guides/application-developer.rst b/Documentation/guides/application-developer.rst
index 8d12a208..fd6cd3d9 100644
--- a/Documentation/guides/application-developer.rst
+++ b/Documentation/guides/application-developer.rst
@@ -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.