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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user