Get rid of std.experimental.
This commit is contained in:
2017-07-15 22:25:29 +02:00
parent e6b91f70cb
commit 42146c5e8a
2 changed files with 134 additions and 4 deletions

View File

@ -548,8 +548,7 @@ in
}
body
{
auto payload = allocator.resize!(ElementType!T)(null, size);
return RefCounted!T(payload, allocator);
return RefCounted!T(allocator.make!T(size), allocator);
}
///
@ -852,7 +851,7 @@ in
}
body
{
auto payload = allocator.make!(T, shared Allocator, A)(args);
auto payload = allocator.make!(T, A)(args);
return Unique!T(payload, allocator);
}