Switch from auto_ptr to unique_ptr (#638)

This commit is contained in:
Christopher Bergqvist
2020-06-11 18:02:28 +02:00
committed by GitHub
parent 8250e83e61
commit 0a2c565aa9
29 changed files with 71 additions and 73 deletions
+2 -2
View File
@@ -200,7 +200,7 @@ namespace VeraCrypt
}
#ifdef TC_FREEBSD
auto_ptr <CoreBase> Core (new CoreServiceProxy <CoreFreeBSD>);
auto_ptr <CoreBase> CoreDirect (new CoreFreeBSD);
unique_ptr <CoreBase> Core (new CoreServiceProxy <CoreFreeBSD>);
unique_ptr <CoreBase> CoreDirect (new CoreFreeBSD);
#endif
}