summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Documentation/guides/pipeline-handler.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/guides/pipeline-handler.rst b/Documentation/guides/pipeline-handler.rst
index 7d5fd8ae..eb6a0be9 100644
--- a/Documentation/guides/pipeline-handler.rst
+++ b/Documentation/guides/pipeline-handler.rst
@@ -799,8 +799,7 @@ derived class, and assign it to a base class pointer.
.. code-block:: cpp
- VividCameraData *data = cameraData(camera);
- CameraConfiguration *config = new VividCameraConfiguration();
+ auto config = std::make_unique<VividCameraConfiguration>();
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