More @safe.

This commit is contained in:
Ferdinand Majerech 2014-07-24 23:22:14 +02:00
parent 4ed4a2c746
commit b63c0849e7

View file

@ -711,7 +711,7 @@ final class Scanner
alias fetchBlockScalar!(ScalarStyle.Folded) fetchFolded;
/// Add quoted flow SCALAR token.
void fetchFlowScalar(ScalarStyle quotes)() @trusted
void fetchFlowScalar(ScalarStyle quotes)() @safe
{
//A flow scalar could be a simple key.
savePossibleSimpleKey();
@ -729,7 +729,7 @@ final class Scanner
alias fetchFlowScalar!(ScalarStyle.DoubleQuoted) fetchDouble;
/// Add plain SCALAR token.
void fetchPlain() @trusted
void fetchPlain() @safe
{
// A plain scalar could be a simple key
savePossibleSimpleKey();