summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2019-03-29 12:11:22 +0100
committerJacopo Mondi <jacopo@jmondi.org>2019-04-02 12:59:20 +0200
commit29f323eea84c5bf5037658b0042478124ed58ff1 (patch)
treeab66495dbc562693817749e3010fc27758dccd1c
parentcf4bb3fb2d37fa11fd939cd88dff875ae2744966 (diff)
libcamera: stream: Qualify 'Camera' friend directive
Align the Stream class to all other classes in the code base to use the 'class' qualifier in 'friend' declarations. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
-rw-r--r--include/libcamera/stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcamera/stream.h b/include/libcamera/stream.h
index 24407cb6..970c4796 100644
--- a/include/libcamera/stream.h
+++ b/include/libcamera/stream.h
@@ -29,7 +29,7 @@ public:
const StreamConfiguration &configuration() const { return configuration_; }
private:
- friend Camera;
+ friend class Camera;
BufferPool bufferPool_;
StreamConfiguration configuration_;