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>
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user