Loader ctors no longer pure (DMD 2.054)

This commit is contained in:
Ferdinand Majerech 2013-12-17 15:17:42 +01:00
parent 369c899e90
commit e0e9082615
2 changed files with 2 additions and 3 deletions

View file

@ -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
{

View file

@ -121,7 +121,6 @@ package class YAMLContainer(T) if (!Node.allowed!T): YAMLObject
this(T value) @trusted {value_ = value;}
}
/**
* YAML node.
*