mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
Linux/MacOSX: use standard std::shared_ptr instead of our custom implementation which is kept for compatibility with older compilers. We also introduce compatibility code for old compilers that don't define std::unique_ptr
This commit is contained in:
@@ -548,8 +548,8 @@ namespace VeraCrypt
|
||||
if (status != CKR_OK)
|
||||
throw Pkcs11Exception (status);
|
||||
|
||||
PinCallback = std::move(pinCallback);
|
||||
WarningCallback = std::move(warningCallback);
|
||||
PinCallback = move_ptr(pinCallback);
|
||||
WarningCallback = move_ptr(warningCallback);
|
||||
|
||||
Initialized = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user