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;