Remove previously deprecated modules

* tanya.network.uri
* tanya.network.inet
* tanya.memory.types
This commit is contained in:
2017-06-30 04:19:20 +02:00
parent e79c75df81
commit e46e45ad5a
7 changed files with 15 additions and 1530 deletions

View File

@ -23,7 +23,7 @@ import std.range;
import std.traits;
import tanya.memory;
package template Payload(T)
private template Payload(T)
{
static if (is(T == class) || is(T == interface) || isArray!T)
{
@ -35,7 +35,7 @@ package template Payload(T)
}
}
package final class RefCountedStore(T)
private final class RefCountedStore(T)
{
T payload;
size_t counter = 1;
@ -68,14 +68,14 @@ package final class RefCountedStore(T)
}
}
package void separateDeleter(T)(RefCountedStore!T storage,
private void separateDeleter(T)(RefCountedStore!T storage,
shared Allocator allocator)
{
allocator.dispose(storage.payload);
allocator.dispose(storage);
}
package void unifiedDeleter(T)(RefCountedStore!T storage,
private void unifiedDeleter(T)(RefCountedStore!T storage,
shared Allocator allocator)
{
auto ptr1 = finalize(storage);