From 14ae86f0c92192f8da8a566bbe488e541af14ee9 Mon Sep 17 00:00:00 2001 From: Daniel Semkowicz Date: Fri, 17 Jun 2022 16:35:47 +0200 Subject: Documentation: Add the missing const to the example code Request::BufferMap key type is now const Signed-off-by: Daniel Semkowicz Reviewed-by: Laurent Pinchart Reviewed-by: Jacopo Mondi Signed-off-by: Laurent Pinchart --- Documentation/guides/application-developer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 &buffers = request->buffers(); + const std::map &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. -- cgit v1.2.1