diff options
author | 2023-07-06 18:07:21 -0700 | |
---|---|---|
committer | 2023-07-07 16:08:34 +0000 | |
commit | 73e6d3788d4e904b927b1185cb7a299160a0268e (patch) | |
tree | a2a30a1217fda4d0cfb706a003d8beafad956b5c /libs/input/Input.cpp | |
parent | 7a039af79c5d04cd97385182ed93e59c794204c6 (diff) |
Remove PointerProperties::copyFrom
Remove copyFrom in favor of default-generated operator=.
Bug: 271455682
Test: m checkinput
Change-Id: Ie00d027bcbf0a994e04e6b79a107c32077c3a3d8
Diffstat (limited to 'libs/input/Input.cpp')
-rw-r--r-- | libs/input/Input.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/libs/input/Input.cpp b/libs/input/Input.cpp index 00925ba555..c1274110d3 100644 --- a/libs/input/Input.cpp +++ b/libs/input/Input.cpp @@ -497,19 +497,6 @@ void PointerCoords::transform(const ui::Transform& transform) { } } -// --- PointerProperties --- - -bool PointerProperties::operator==(const PointerProperties& other) const { - return id == other.id - && toolType == other.toolType; -} - -void PointerProperties::copyFrom(const PointerProperties& other) { - id = other.id; - toolType = other.toolType; -} - - // --- MotionEvent --- void MotionEvent::initialize(int32_t id, int32_t deviceId, uint32_t source, int32_t displayId, |