summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-03-11 23:51:50 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-03-11 23:51:50 +0100
commitaefc9e3ba9c4831b3e5fc797ba3c1cf5312c7b6a (patch)
tree23004a16f2fdb8db111fac12a6e704f84aa4bf6a
parentMerge "Create a wrapper class for update package" (diff)
parentminui: Fix the wrong move of the callback. (diff)
downloadandroid_bootable_recovery-aefc9e3ba9c4831b3e5fc797ba3c1cf5312c7b6a.tar
android_bootable_recovery-aefc9e3ba9c4831b3e5fc797ba3c1cf5312c7b6a.tar.gz
android_bootable_recovery-aefc9e3ba9c4831b3e5fc797ba3c1cf5312c7b6a.tar.bz2
android_bootable_recovery-aefc9e3ba9c4831b3e5fc797ba3c1cf5312c7b6a.tar.lz
android_bootable_recovery-aefc9e3ba9c4831b3e5fc797ba3c1cf5312c7b6a.tar.xz
android_bootable_recovery-aefc9e3ba9c4831b3e5fc797ba3c1cf5312c7b6a.tar.zst
android_bootable_recovery-aefc9e3ba9c4831b3e5fc797ba3c1cf5312c7b6a.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;