libcamera: V4L2BufferCache: Mark Entry::operator==() as const

The comparison operator does not change any state, mark it as const.

Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Niklas Söderlund
2020-03-04 23:51:30 +01:00
parent 257df552a4
commit 353851b773
2 changed files with 2 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ private:
Entry();
Entry(bool free, const FrameBuffer &buffer);
bool operator==(const FrameBuffer &buffer);
bool operator==(const FrameBuffer &buffer) const;
bool free;