commit | 8da3816e331ca9d86eb33e598ac6e25bd6424d3e | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Mon Mar 11 16:45:30 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Mon Mar 11 16:45:30 2019 -0700 |
tree | 23004a16f2fdb8db111fac12a6e704f84aa4bf6a | |
parent | 5f0c7e0356290a585a5a4b03d0a74beeeb5913f3 [diff] | |
parent | ea371229966bf6b8319150e73ca4f2346911f23f [diff] |
Merge "minui: Fix the wrong move of the callback." am: aefc9e3ba9 am: ea37122996 Change-Id: I1b213b5c60621e47e63520659b81954b864ec960
diff --git a/minui/events.cpp b/minui/events.cpp index 30f8d50..c958610 100644 --- a/minui/events.cpp +++ b/minui/events.cpp
@@ -97,7 +97,7 @@ } ev_fdinfo[ev_count].fd = fd; - ev_fdinfo[ev_count].cb = std::move(input_cb); + ev_fdinfo[ev_count].cb = input_cb; ev_count++; ev_dev_count++; if (ev_dev_count == MAX_DEVICES) break;