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:
@@ -1778,7 +1778,7 @@ bool MenuSkin::LoadSkin( HMODULE hMod, const wchar_t *variation, const wchar_t *
|
||||
var.label=token;
|
||||
if (var.labelEn.IsEmpty())
|
||||
var.labelEn=var.label;
|
||||
Variations.push_back(std::pair<int,Variation>(res,var));
|
||||
Variations.emplace_back(res,var);
|
||||
LOG_MENU(LOG_OPEN,L"Variation found: name=%s, id=%d",token,res);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user