mirror of
https://github.com/dlang/phobos.git
synced 2025-04-26 13:10:35 +03:00
Mark endianToNativeImpl
@trusted
This commit is contained in:
parent
d1cb5ca585
commit
8729740e32
1 changed files with 1 additions and 1 deletions
|
@ -3274,7 +3274,7 @@ if (canSwapEndianness!T && n == T.sizeof)
|
|||
assert(c == littleEndianToNative!dchar(swappedC));
|
||||
}
|
||||
|
||||
private T endianToNativeImpl(bool swap, T, size_t n)(ubyte[n] val) @nogc nothrow pure @safe
|
||||
private T endianToNativeImpl(bool swap, T, size_t n)(ubyte[n] val) @nogc nothrow pure @trusted
|
||||
if (__traits(isIntegral, T) && n == T.sizeof)
|
||||
{
|
||||
if (!__ctfe)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue