mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-10-06 00:56:35 -05:00
Switch from auto_ptr to unique_ptr (#638)
This commit is contained in:
1 parent
8250e83e61
commit
0a2c565aa9
29 files changed
+71
-73
No files matched your search
@@ -12104,7 +12104,7 @@ BOOL InitSecurityTokenLibrary (HWND hwndDlg)
|
||||
|
||||
try
|
||||
{
|
||||
SecurityToken::InitLibrary (SecurityTokenLibraryPath, auto_ptr <GetPinFunctor> (new PinRequestHandler(MainDlg)), auto_ptr <SendExceptionFunctor> (new WarningHandler(MainDlg)));
|
||||
SecurityToken::InitLibrary (SecurityTokenLibraryPath, unique_ptr <GetPinFunctor> (new PinRequestHandler(MainDlg)), unique_ptr <SendExceptionFunctor> (new WarningHandler(MainDlg)));
|
||||
}
|
||||
catch (Exception &e)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user