Documentation: guides: pipeline-handler: Fix configuration creation

`PipelineHandler::generateConfiguration()` returns a `std::unique_ptr`.

Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Barnabás Pőcze 2024-12-09 17:09:11 +01:00
parent dd2ddea8bf
commit 28d2d4f43c

View file

@ -799,8 +799,7 @@ derived class, and assign it to a base class pointer.
.. code-block:: cpp .. code-block:: cpp
VividCameraData *data = cameraData(camera); auto config = std::make_unique<VividCameraConfiguration>();
CameraConfiguration *config = new VividCameraConfiguration();
A ``CameraConfiguration`` is specific to each pipeline, so you can only create A ``CameraConfiguration`` is specific to each pipeline, so you can only create
it from the pipeline handler code path. Applications can also generate an empty it from the pipeline handler code path. Applications can also generate an empty