Replace 'push*' -> 'emplace*' if possible and use std::move()

This commit is contained in:
germanaizek
2022-05-12 16:37:52 +03:00
committed by ge0rdi
parent 4f362760b6
commit a20215d9da
10 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -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;
}