diff --git a/source/dyaml/loader.d b/source/dyaml/loader.d index 3a6ce8f..f3b6d97 100644 --- a/source/dyaml/loader.d +++ b/source/dyaml/loader.d @@ -115,7 +115,7 @@ struct Loader * * Throws: YAMLException if the file could not be opened or read. */ - this(string filename) pure @safe + this(string filename) @trusted { name_ = filename; try{this(new File(filename));} @@ -147,7 +147,7 @@ struct Loader * * Throws: YAMLException if stream could not be read. */ - this(Stream stream) pure @safe + this(Stream stream) @safe { try { diff --git a/source/dyaml/node.d b/source/dyaml/node.d index 82a7e43..cb790f4 100644 --- a/source/dyaml/node.d +++ b/source/dyaml/node.d @@ -121,7 +121,6 @@ package class YAMLContainer(T) if (!Node.allowed!T): YAMLObject this(T value) @trusted {value_ = value;} } - /** * YAML node. *