[libcamera-devel] [PATCH 02/10] libcamera: buffer: Plane: Drop friend statement
Niklas Söderlund
niklas.soderlund at ragnatech.se
Mon Oct 28 03:22:16 CET 2019
The Plane class do not need to friend Stream, drop it.
Signed-off-by: Niklas Söderlund <niklas.soderlund at ragnatech.se>
---
include/libcamera/buffer.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/libcamera/buffer.h b/include/libcamera/buffer.h
index e14c9bd390a13bfc..d7784d9d24ab3f41 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();
--
2.23.0
More information about the libcamera-devel
mailing list