Skip to content

Commit

Permalink
Fixed long lines in std/experimental/allocator/mallocator.d
Browse files Browse the repository at this point in the history
  • Loading branch information
JackStouffer committed May 11, 2016
1 parent 6fae385 commit 95e90ba
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions std/experimental/allocator/mallocator.d
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,10 @@ struct AlignedMallocator
return null;

else if (code == EINVAL)
assert (0, "AlignedMallocator.alignment is not a power of two multiple of (void*).sizeof, according to posix_memalign!");

{
assert(0, "AlignedMallocator.alignment is not a power of two "
~"multiple of (void*).sizeof, according to posix_memalign!");
}
else if (code != 0)
assert (0, "posix_memalign returned an unknown code!");

Expand Down

0 comments on commit 95e90ba

Please sign in to comment.