Low-hanging @nogc fruit in Loader.
This commit is contained in:
parent
647fe9b657
commit
bf4762cbcf
|
@ -165,19 +165,19 @@ struct Loader
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Set stream _name. Used in debugging messages.
|
/// Set stream _name. Used in debugging messages.
|
||||||
void name(string name) pure @safe nothrow
|
void name(string name) pure @safe nothrow @nogc
|
||||||
{
|
{
|
||||||
name_ = name;
|
name_ = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Specify custom Resolver to use.
|
/// Specify custom Resolver to use.
|
||||||
void resolver(Resolver resolver) pure @safe nothrow
|
void resolver(Resolver resolver) pure @safe nothrow @nogc
|
||||||
{
|
{
|
||||||
resolver_ = resolver;
|
resolver_ = resolver;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Specify custom Constructor to use.
|
/// Specify custom Constructor to use.
|
||||||
void constructor(Constructor constructor) pure @safe nothrow
|
void constructor(Constructor constructor) pure @safe nothrow @nogc
|
||||||
{
|
{
|
||||||
constructor_ = constructor;
|
constructor_ = constructor;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue