commit | 96f1ee7cdb939050ba7365def7e52b858b4550bd | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Mon Mar 11 17:07:14 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Mon Mar 11 17:07:14 2019 -0700 |
tree | 9cdbd9cdb3d13f111ea7e1271c2f44507a9daffa | |
parent | 650c1c09410e0e4c70719c8a05ca06c9470e8cde [diff] | |
parent | 8da3816e331ca9d86eb33e598ac6e25bd6424d3e [diff] |
Merge "minui: Fix the wrong move of the callback." am: aefc9e3ba9 am: ea37122996 am: 8da3816e33 Change-Id: Idce21a2c0cb7c2fe5c3b35b7bb589e7b1e27b82d
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;