libcamera: Drop unneeded usage of this pointer

A few unneeded usages of the this pointer to qualify access to class
members have been introduced over time. Drop them.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Reviewed-by: Isaac Scott <isaac.scott@ideasonboard.com>
This commit is contained in:
Laurent Pinchart
2025-09-20 01:43:01 +03:00
parent 44da13f85f
commit 0f9b73bae2
3 changed files with 7 additions and 7 deletions
@@ -79,7 +79,7 @@ public:
SharedMemObject(SharedMemObject<T> &&rhs)
: SharedMem(std::move(rhs))
{
this->obj_ = rhs.obj_;
obj_ = rhs.obj_;
rhs.obj_ = nullptr;
}
@@ -92,7 +92,7 @@ public:
SharedMemObject<T> &operator=(SharedMemObject<T> &&rhs)
{
SharedMem::operator=(std::move(rhs));
this->obj_ = rhs.obj_;
obj_ = rhs.obj_;
rhs.obj_ = nullptr;
return *this;
}