summaryrefslogtreecommitdiff
path: root/src/android/camera_buffer.h
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2021-02-26 09:09:51 +0100
committerJacopo Mondi <jacopo@jmondi.org>2021-03-03 09:50:13 +0100
commit99edf1ef421626a67ff5c3d5df2880d3cd6cfa9d (patch)
treeb1be8c692f66c13be66a046fabcfcfa68f76cbdf /src/android/camera_buffer.h
parent64c17f73a08fd121c233e655d6ded9790c03dda5 (diff)
android: camera_buffer: Drop 'const' from buffer_handle_t
The buffer_handle_t type is defined as 'const native_handle_t*'. Drop the 'const' specifier from the parameter of the CameraBuffer class constructor and in the Android generic memory backend. Also rename 'camera3buffer' in 'camera3Buffer' to comply with the coding style guidelines. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/android/camera_buffer.h')
-rw-r--r--src/android/camera_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/camera_buffer.h b/src/android/camera_buffer.h
index 00b06150..0590cd84 100644
--- a/src/android/camera_buffer.h
+++ b/src/android/camera_buffer.h
@@ -14,7 +14,7 @@
class CameraBuffer : public libcamera::MappedBuffer
{
public:
- CameraBuffer(const buffer_handle_t camera3buffer, int flags);
+ CameraBuffer(buffer_handle_t camera3Buffer, int flags);
~CameraBuffer();
};