summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-04-26 17:26:29 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-04-26 19:07:45 +0300
commit152147c539d8e0e920547167c462c54d744601f7 (patch)
tree4fa5ec8597e8518dc47cc4e0b9d0fdc7b3120607 /include
parentab0188fc8bbb6f397ac3aa11c9377662b7bd88b0 (diff)
libcamera: Correct struct forward declarations
Several structures are forward-declarated as classes. Fix this by using the struct keyword where appropriate, or removing the forward declaration when not needed. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/camera.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libcamera/camera.h b/include/libcamera/camera.h
index b2dafda3..777b7e4d 100644
--- a/include/libcamera/camera.h
+++ b/include/libcamera/camera.h
@@ -21,9 +21,10 @@ class Buffer;
class PipelineHandler;
class Request;
class Stream;
-class StreamConfiguration;
class StreamUsage;
+struct StreamConfiguration;
+
class CameraConfiguration
{
public: