mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
Switch from auto_ptr to unique_ptr (#638)
This commit is contained in:
committed by
GitHub
parent
8250e83e61
commit
0a2c565aa9
@@ -509,7 +509,7 @@ namespace VeraCrypt
|
||||
|
||||
wxMenu *CreatePopupMenu ()
|
||||
{
|
||||
auto_ptr <wxMenu> popup (new wxMenu);
|
||||
unique_ptr <wxMenu> popup (new wxMenu);
|
||||
|
||||
Gui->AppendToMenu (*popup, LangString[Gui->IsInBackgroundMode() ? "SHOW_TC" : "HIDE_TC"], this, wxCommandEventHandler (TaskBarIcon::OnShowHideMenuItemSelected));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user