mirror of
https://github.com/dlang/phobos.git
synced 2025-05-01 07:30:33 +03:00
[Fix] Fix property enforcement when using BigInt
.
This commit is contained in:
parent
22de6917b8
commit
30d99b011a
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue