MacOSX: fix link error under Xcode 4.6.3

This commit is contained in:
Mounir IDRASSI committed 2019-10-06 19:14:45 +02:00
1 parent a4145721a7
commit 6d7f7527be
2 files changed
+7 -3

No files matched your search

+4
View File
@@ -16,6 +16,10 @@
namespace VeraCrypt namespace VeraCrypt
{ {
const size_t VolumePassword::MaxLegacySize = 64;
const size_t VolumePassword::MaxSize = 128;
const size_t VolumePassword::WarningSizeThreshold = 12;
VolumePassword::VolumePassword () : PasswordSize (0) VolumePassword::VolumePassword () : PasswordSize (0)
{ {
AllocateBuffer (); AllocateBuffer ();
+3 -3
View File
@@ -41,9 +41,9 @@ namespace VeraCrypt
TC_SERIALIZABLE (VolumePassword); TC_SERIALIZABLE (VolumePassword);
static const size_t MaxLegacySize = 64; static const size_t MaxLegacySize;
static const size_t MaxSize = 128; static const size_t MaxSize;
static const size_t WarningSizeThreshold = 12; static const size_t WarningSizeThreshold;
protected: protected:
void AllocateBuffer (); void AllocateBuffer ();