authorgravatar for kt@connectfree.co.jpkristopher tate <kt@connectfree.co.jp> 2018-06-21 01:39:48+09:00
committergravatar for kt@connectfree.co.jpkristopher tate <kt@connectfree.co.jp> 2018-06-21 01:39:48+09:00
log4b46af481086ad253d43d149d7ee54f17e6570dc
treed96b8373e4c949471e0fe543bf87b09e3ac1186f
parent71db8df5480f4d849480267574cd5491066e3868

std.mem.Allocator.construct: remove deprecation warning;


1 files changed, 0 insertions(+), 1 deletions(-)

std/mem.zig-1
...@@ -44,7 +44,6 @@ pub const Allocator = struct {...@@ -44,7 +44,6 @@ pub const Allocator = struct {
44 /// Alias of create44 /// Alias of create
45 /// Call destroy with the result45 /// Call destroy with the result
46 pub fn construct(self: *Allocator, init: var) Error!*@typeOf(init) {46 pub fn construct(self: *Allocator, init: var) Error!*@typeOf(init) {
47 debug.warn("std.mem.Allocator.construct is deprecated;\n");
48 return self.create(init);47 return self.create(init);
49 }48 }
5049