diff options
Diffstat (limited to 'src/Common/SecurityToken.cpp')
-rw-r--r-- | src/Common/SecurityToken.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/SecurityToken.cpp b/src/Common/SecurityToken.cpp index a6759bf8..47fa218c 100644 --- a/src/Common/SecurityToken.cpp +++ b/src/Common/SecurityToken.cpp @@ -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; } |