Fix -Wshadow-field warnings.
Test: build
Change-Id: I15c7a530ab7c4ba038c49b7ba48dcf76422a2b5f
diff --git a/libs/ui/Rect.cpp b/libs/ui/Rect.cpp
index 045db31..13fed3a 100644
--- a/libs/ui/Rect.cpp
+++ b/libs/ui/Rect.cpp
@@ -72,11 +72,11 @@
return *this;
}
-Rect& Rect::inset(int32_t left, int32_t top, int32_t right, int32_t bottom) {
- this->left += left;
- this->top += top;
- this->right -= right;
- this->bottom -= bottom;
+Rect& Rect::inset(int32_t _left, int32_t _top, int32_t _right, int32_t _bottom) {
+ this->left += _left;
+ this->top += _top;
+ this->right -= _right;
+ this->bottom -= _bottom;
return *this;
}