summaryrefslogtreecommitdiff
path: root/include/libcamera/buffer.h
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-10-21 17:42:28 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-11-19 17:49:44 +0100
commit5e1cd213b3100c01f1612f476c03d680369b638a (patch)
treebd561ad043fe92dbac0877b07c0c3cd0d5b3c38b /include/libcamera/buffer.h
parent1de2e4bbddefbe5cbeeb933d5db16cf58229e426 (diff)
libcamera: buffer: Plane: Drop friend statement
The Plane class do not need to friend Stream, drop it. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include/libcamera/buffer.h')
-rw-r--r--include/libcamera/buffer.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/libcamera/buffer.h b/include/libcamera/buffer.h
index e14c9bd3..d7784d9d 100644
--- a/include/libcamera/buffer.h
+++ b/include/libcamera/buffer.h
@@ -29,8 +29,6 @@ public:
unsigned int length() const { return length_; }
private:
- friend class Stream;
-
int mmap();
int munmap();