diff --git a/Documentation/guides/application-developer.rst b/Documentation/guides/application-developer.rst
index 8d12a208..6ab8b7e5 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.
@@ -518,7 +518,7 @@ and queue all the previously created requests.
 
    camera->start();
    for (std::unique_ptr<Request> &request : requests)
-      camera->queueRequest(request.get());
+       camera->queueRequest(request.get());
 
 Start an event loop
 ~~~~~~~~~~~~~~~~~~~
