summaryrefslogtreecommitdiff
path: root/services/inputflinger/NotifyArgs.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2023-07-06 18:07:21 -0700
committer Siarhei Vishniakou <svv@google.com> 2023-07-07 16:08:34 +0000
commit73e6d3788d4e904b927b1185cb7a299160a0268e (patch)
treea2a30a1217fda4d0cfb706a003d8beafad956b5c /services/inputflinger/NotifyArgs.cpp
parent7a039af79c5d04cd97385182ed93e59c794204c6 (diff)
Remove PointerProperties::copyFrom
Remove copyFrom in favor of default-generated operator=. Bug: 271455682 Test: m checkinput Change-Id: Ie00d027bcbf0a994e04e6b79a107c32077c3a3d8
Diffstat (limited to 'services/inputflinger/NotifyArgs.cpp')
-rw-r--r--services/inputflinger/NotifyArgs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/inputflinger/NotifyArgs.cpp b/services/inputflinger/NotifyArgs.cpp
index 0fa47d1a7c..c34cd5346e 100644
--- a/services/inputflinger/NotifyArgs.cpp
+++ b/services/inputflinger/NotifyArgs.cpp
@@ -91,8 +91,8 @@ NotifyMotionArgs::NotifyMotionArgs(
readTime(readTime),
videoFrames(videoFrames) {
for (uint32_t i = 0; i < pointerCount; i++) {
- this->pointerProperties.push_back(pointerProperties[i]);
- this->pointerCoords.push_back(pointerCoords[i]);
+ this->pointerProperties.emplace_back(pointerProperties[i]);
+ this->pointerCoords.emplace_back(pointerCoords[i]);
}
}