[user-data] std::move item
This commit is contained in:
parent
ff0bb74895
commit
1d41b9cb3c
|
@ -80,7 +80,7 @@ struct hb_lockable_set_t
|
|||
if (item)
|
||||
{
|
||||
item_t old = *item;
|
||||
*item = items[items.length - 1];
|
||||
*item = std::move (items[items.length - 1]);
|
||||
items.pop ();
|
||||
l.unlock ();
|
||||
old.fini ();
|
||||
|
|
Loading…
Reference in New Issue