VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2020-06-28 00:16:41 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2020-06-28 01:06:30 +0200
commitfded83d25cf8f8b4bbd80a1250c4777063ddc221 (patch)
tree3f69108aecc32e0160af79df70b61513dc315b05
parentb9099d01c20cc1b95e4237a2499828aee34221ac (diff)
downloadVeraCrypt-fded83d25cf8f8b4bbd80a1250c4777063ddc221.tar.gz
VeraCrypt-fded83d25cf8f8b4bbd80a1250c4777063ddc221.zip
Windows: Fix build error because of missing definition of the macro move_ptr
-rw-r--r--src/Common/SecurityToken.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Common/SecurityToken.cpp b/src/Common/SecurityToken.cpp
index 47fa218c..03de8a2a 100644
--- a/src/Common/SecurityToken.cpp
+++ b/src/Common/SecurityToken.cpp
@@ -26,6 +26,10 @@
# include <dlfcn.h>
#endif
+#ifdef TC_WINDOWS
+#define move_ptr std::move
+#endif
+
#include "SecurityToken.h"
#ifndef burn