libcamera: v4l2_videodevice: Prevent shadowing of V4L2BufferCache members
The members free, and lastUsed were not following the libcamera coding style, and were producing a shadowed parameter on the construction. Rename them to be marked as member variables with the _ postfix accordingly. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
@@ -127,8 +127,8 @@ private:
|
||||
|
||||
bool operator==(const FrameBuffer &buffer) const;
|
||||
|
||||
bool free;
|
||||
uint64_t lastUsed;
|
||||
bool free_;
|
||||
uint64_t lastUsed_;
|
||||
|
||||
private:
|
||||
struct Plane {
|
||||
|
||||
Reference in New Issue
Block a user