mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-11 17:37:22 +10:00
Replace 'push*' -> 'emplace*' if possible and use std::move()
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user