From fb9525bb003825a2254531f9cb15d88a90947561 Mon Sep 17 00:00:00 2001 From: Ferdinand Majerech Date: Tue, 5 Aug 2014 01:52:21 +0200 Subject: [PATCH] Obsoleting decodeCount_. --- source/dyaml/reader.d | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/dyaml/reader.d b/source/dyaml/reader.d index 78f4ac5..6f004b6 100644 --- a/source/dyaml/reader.d +++ b/source/dyaml/reader.d @@ -325,8 +325,7 @@ private: dchar decodeNext() @safe pure nothrow @nogc { assert(lastDecodedBufferOffset_ < buffer_.length, - "Attempted to decode past the end of a string"); - ++decodeCount_; + "Attempted to decode past the end of YAML buffer"); const char b = buffer_[lastDecodedBufferOffset_]; ++lastDecodedCharOffset_; // ASCII