mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-06-14 11:26:38 +10:00
Replace 'push*' -> 'emplace*' if possible and use std::move()
This commit is contained in:
@@ -2237,7 +2237,7 @@ void CMenuContainer::AddJumpListItems( std::vector<MenuItem> &items )
|
||||
{
|
||||
ILFree(item.pItem1);
|
||||
item.pItem1=pidl2.Detach();
|
||||
pItem=pItem2;
|
||||
pItem=std::move(pItem2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user