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

View File

@@ -224,7 +224,7 @@ namespace DesktopNotificationManagerCompat
DesktopNotificationHistoryCompat::DesktopNotificationHistoryCompat(const wchar_t *aumid, ComPtr<IToastNotificationHistory> history)
{
m_aumid = std::wstring(aumid);
m_history = history;
m_history = std::move(history);
}
HRESULT DesktopNotificationHistoryCompat::Clear()