summaryrefslogtreecommitdiff
path: root/services/inputflinger/NotifyArgs.cpp
diff options
context:
space:
mode:
author Aditya Kumar <appujee@google.com> 2023-10-24 18:00:10 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2023-10-24 18:00:10 +0000
commitfe9a892ab4d4639c7521335cf27f1b695b8fcafb (patch)
tree2827776b6e6469cabdfa24aeedbe539506943935 /services/inputflinger/NotifyArgs.cpp
parent0ec0516cd9221572fcb4e76d1b40095667ed90bb (diff)
parentd83c544d8146bb2fee7a0d262b3132d423949505 (diff)
Merge "Fix visitor" into main am: 004bccd97c am: d83c544d81
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2800293 Change-Id: I898d358e0b2fe3a79459f4f5f714d89fb0f24a0c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'services/inputflinger/NotifyArgs.cpp')
-rw-r--r--services/inputflinger/NotifyArgs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/inputflinger/NotifyArgs.cpp b/services/inputflinger/NotifyArgs.cpp
index 0fa47d1a7c..6a25e72b5f 100644
--- a/services/inputflinger/NotifyArgs.cpp
+++ b/services/inputflinger/NotifyArgs.cpp
@@ -190,7 +190,7 @@ NotifyPointerCaptureChangedArgs::NotifyPointerCaptureChangedArgs(
// Helper to std::visit with lambdas.
template <typename... V>
-struct Visitor : V... {};
+struct Visitor : V... { using V::operator()...; };
// explicit deduction guide (not needed as of C++20)
template <typename... V>
Visitor(V...) -> Visitor<V...>;