summaryrefslogtreecommitdiff
path: root/services/inputflinger/NotifyArgs.cpp
diff options
context:
space:
mode:
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 6a25e72b5f..de836e93a4 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]);
}
}