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