summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-03-09 01:20:07 +0100
committerTao Bao <tbao@google.com>2019-03-11 20:07:11 +0100
commitdfdf63501e0ce5ed07828731483228ba5c9dee23 (patch)
treecd4b9a65bbc5361af1fe8bfa9f7319592c4342f7
parentMerge "Use O_CLOEXEC at a few places." (diff)
downloadandroid_bootable_recovery-dfdf63501e0ce5ed07828731483228ba5c9dee23.tar
android_bootable_recovery-dfdf63501e0ce5ed07828731483228ba5c9dee23.tar.gz
android_bootable_recovery-dfdf63501e0ce5ed07828731483228ba5c9dee23.tar.bz2
android_bootable_recovery-dfdf63501e0ce5ed07828731483228ba5c9dee23.tar.lz
android_bootable_recovery-dfdf63501e0ce5ed07828731483228ba5c9dee23.tar.xz
android_bootable_recovery-dfdf63501e0ce5ed07828731483228ba5c9dee23.tar.zst
android_bootable_recovery-dfdf63501e0ce5ed07828731483228ba5c9dee23.zip
-rw-r--r--minui/events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/minui/events.cpp b/minui/events.cpp
index 30f8d50a2..c95861036 100644
--- a/minui/events.cpp
+++ b/minui/events.cpp
@@ -97,7 +97,7 @@ int ev_init(ev_callback input_cb, bool allow_touch_inputs) {
}
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;