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:
@@ -526,7 +526,7 @@ bool CSearchManager::SearchScope::ParseSearchConnector( const wchar_t *fname )
|
||||
CComPtr<IXMLDOMNode> pNext;
|
||||
if (pScopeItem->get_nextSibling(&pNext)!=S_OK)
|
||||
break;
|
||||
pScopeItem=pNext;
|
||||
pScopeItem=std::move(pNext);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user