MacOSX: fix link error under Xcode 4.6.3

This commit is contained in:
Mounir IDRASSI 2019-10-06 18:41:13 +02:00
parent a4145721a7
commit 6d7f7527be
No known key found for this signature in database
GPG Key ID: 02C30AE90FAE4A6F
2 changed files with 7 additions and 3 deletions

View File

@ -16,6 +16,10 @@
namespace VeraCrypt
{
const size_t VolumePassword::MaxLegacySize = 64;
const size_t VolumePassword::MaxSize = 128;
const size_t VolumePassword::WarningSizeThreshold = 12;
VolumePassword::VolumePassword () : PasswordSize (0)
{
AllocateBuffer ();

View File

@ -41,9 +41,9 @@ namespace VeraCrypt
TC_SERIALIZABLE (VolumePassword);
static const size_t MaxLegacySize = 64;
static const size_t MaxSize = 128;
static const size_t WarningSizeThreshold = 12;
static const size_t MaxLegacySize;
static const size_t MaxSize;
static const size_t WarningSizeThreshold;
protected:
void AllocateBuffer ();