mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-06-14 03:16:38 +10:00
Replace 'push*' -> 'emplace*' if possible and use std::move()
This commit is contained in:
@@ -1156,7 +1156,7 @@ HRESULT STDMETHODCALLTYPE CBrowseLinkEvents::OnButtonClicked( IFileDialogCustomi
|
||||
{
|
||||
pfd->GetFolder(&pItem);
|
||||
}
|
||||
m_pResult=pItem;
|
||||
m_pResult=std::move(pItem);
|
||||
pfd->Close(S_FALSE);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user