Merge "minui: Fix the wrong move of the callback." am: aefc9e3ba9
am: ea37122996
am: 8da3816e33
Change-Id: Idce21a2c0cb7c2fe5c3b35b7bb589e7b1e27b82d
This commit is contained in:
commit
96f1ee7cdb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue