summaryrefslogtreecommitdiffstats
path: root/minui
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-03-12 04:09:30 +0100
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-03-12 04:09:30 +0100
commite7aa6a13e3d680ebcf6864c6023901c46e5c66c2 (patch)
tree9cdbd9cdb3d13f111ea7e1271c2f44507a9daffa /minui
parentSnap for 5364434 from de902a5f9b74f132b6c8191abe88cf0ddb8dc535 to qt-release (diff)
parentMerge "minui: Fix the wrong move of the callback." am: aefc9e3ba9 am: ea37122996 (diff)
downloadandroid_bootable_recovery-e7aa6a13e3d680ebcf6864c6023901c46e5c66c2.tar
android_bootable_recovery-e7aa6a13e3d680ebcf6864c6023901c46e5c66c2.tar.gz
android_bootable_recovery-e7aa6a13e3d680ebcf6864c6023901c46e5c66c2.tar.bz2
android_bootable_recovery-e7aa6a13e3d680ebcf6864c6023901c46e5c66c2.tar.lz
android_bootable_recovery-e7aa6a13e3d680ebcf6864c6023901c46e5c66c2.tar.xz
android_bootable_recovery-e7aa6a13e3d680ebcf6864c6023901c46e5c66c2.tar.zst
android_bootable_recovery-e7aa6a13e3d680ebcf6864c6023901c46e5c66c2.zip
Diffstat (limited to 'minui')
-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;