[Fix] Fix property enforcement when using BigInt.

This commit is contained in:
Denis Shelomovskij 2014-07-09 20:02:00 +04:00
parent 22de6917b8
commit 30d99b011a

View file

@ -109,7 +109,7 @@ private:
} }
public: public:
// Length in uints // Length in uints
size_t uintLength() pure nothrow const @property size_t uintLength() pure nothrow const
{ {
static if (BigDigit.sizeof == uint.sizeof) static if (BigDigit.sizeof == uint.sizeof)
{ {
@ -121,7 +121,7 @@ public:
((data[$-1] & 0xFFFF_FFFF_0000_0000L) ? 1 : 0); ((data[$-1] & 0xFFFF_FFFF_0000_0000L) ? 1 : 0);
} }
} }
size_t ulongLength() pure nothrow const @property size_t ulongLength() pure nothrow const
{ {
static if (BigDigit.sizeof == uint.sizeof) static if (BigDigit.sizeof == uint.sizeof)
{ {