From d9079de42727baef96376a0755f853f54bcb0b1a Mon Sep 17 00:00:00 2001 From: Ferdinand Majerech Date: Tue, 5 Aug 2014 20:42:51 +0200 Subject: [PATCH] get() now calls slice() directly instead of through prefix(). --- source/dyaml/reader.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dyaml/reader.d b/source/dyaml/reader.d index 83a6659..5ece2f6 100644 --- a/source/dyaml/reader.d +++ b/source/dyaml/reader.d @@ -279,7 +279,7 @@ final class Reader /// Returns: Characters starting at current position. char[] get(const size_t length) @safe pure nothrow @nogc { - auto result = prefix(length); + auto result = slice(length); forward(length); return result; }