Move memory/package.d into memory.allocator

This commit is contained in:
2019-03-22 08:18:01 +01:00
parent a36b51f0c3
commit ad46afb10b
43 changed files with 489 additions and 537 deletions

View File

@ -6,7 +6,7 @@ module tanya.async.tests.loop;
import core.time;
import tanya.async.loop;
import tanya.async.watcher;
import tanya.memory;
import tanya.memory.allocator;
private final class DummyWatcher : Watcher
{

View File

@ -5,7 +5,7 @@ module tanya.container.tests.array;
import tanya.algorithm.comparison;
import tanya.container.array;
import tanya.memory;
import tanya.memory.allocator;
import tanya.test.stub;
// const arrays return usable ranges

View File

@ -4,7 +4,7 @@
module tanya.container.tests.set;
import tanya.container.set;
import tanya.memory;
import tanya.memory.allocator;
import tanya.test.stub;
// Basic insertion logic.

View File

@ -4,7 +4,7 @@
module tanya.math.tests.random;
import tanya.math.random;
import tanya.memory;
import tanya.memory.allocator;
static if (is(PlatformEntropySource)) @nogc @system unittest
{

View File

@ -3,7 +3,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
module tanya.memory.tests.lifetime;
import tanya.memory;
import tanya.memory.allocator;
import tanya.memory.lifetime;
import tanya.test.stub;
@nogc nothrow pure @safe unittest

View File

@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
module tanya.memory.tests.smartref;
import tanya.memory;
import tanya.memory.allocator;
import tanya.memory.smartref;
import tanya.meta.trait;
import tanya.test.stub;

View File

@ -175,7 +175,7 @@ import tanya.range;
// Aggregate types
@system unittest // Object.toString has no attributes.
{
import tanya.memory;
import tanya.memory.allocator;
import tanya.memory.smartref;
interface I