diff options
Diffstat (limited to 'source/tanya/memory/package.d')
| -rw-r--r-- | source/tanya/memory/package.d | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source/tanya/memory/package.d b/source/tanya/memory/package.d index 64f3ced..385aff9 100644 --- a/source/tanya/memory/package.d +++ b/source/tanya/memory/package.d @@ -137,17 +137,6 @@ body .allocator = allocator; } -private nothrow @nogc unittest -{ - import tanya.memory.mallocator; - - auto oldAllocator = defaultAllocator; - defaultAllocator = Mallocator.instance; - assert(defaultAllocator is Mallocator.instance); - - defaultAllocator = oldAllocator; -} - /** * Returns the size in bytes of the state that needs to be allocated to hold an * object of type $(D_PARAM T). |
