From fc0aba516dbce5f9e8fd027a5fdb5bafb7ffa19a Mon Sep 17 00:00:00 2001 From: Ferdinand Majerech Date: Tue, 20 May 2014 22:30:39 +0200 Subject: [PATCH] Should fix issues 17 and 18 (although I couldn't reproduce them). --- source/dyaml/emitter.d | 1 + source/dyaml/queue.d | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source/dyaml/emitter.d b/source/dyaml/emitter.d index d73e870..7c406d9 100644 --- a/source/dyaml/emitter.d +++ b/source/dyaml/emitter.d @@ -35,6 +35,7 @@ import dyaml.linebreak; import dyaml.queue; import dyaml.style; import dyaml.tag; +import dyaml.tagdirective; package: diff --git a/source/dyaml/queue.d b/source/dyaml/queue.d index 9c59f8b..f4dfa24 100644 --- a/source/dyaml/queue.d +++ b/source/dyaml/queue.d @@ -197,7 +197,7 @@ void free(T)(T* ptr) @system nothrow //GC doesn't need to care about any references in this struct anymore. static if(hasIndirections!T){GC.removeRange(cast(void*)ptr);} static if(hasMember!(T, "__dtor")){clear(*ptr);} - std.c.stdlib.free(ptr); + core.stdc.stdlib.free(ptr); } unittest