Low-hanging @nogc fruit in Loader.

This commit is contained in:
Ferdinand Majerech 2014-07-19 14:41:30 +02:00
parent 647fe9b657
commit bf4762cbcf

View file

@ -165,19 +165,19 @@ struct Loader
}
/// Set stream _name. Used in debugging messages.
void name(string name) pure @safe nothrow
void name(string name) pure @safe nothrow @nogc
{
name_ = name;
}
/// Specify custom Resolver to use.
void resolver(Resolver resolver) pure @safe nothrow
void resolver(Resolver resolver) pure @safe nothrow @nogc
{
resolver_ = resolver;
}
/// Specify custom Constructor to use.
void constructor(Constructor constructor) pure @safe nothrow
void constructor(Constructor constructor) pure @safe nothrow @nogc
{
constructor_ = constructor;
}