Obsoleting decodeCount_.

This commit is contained in:
Ferdinand Majerech 2014-08-05 01:52:21 +02:00
parent 75ed314dd6
commit fb9525bb00

View file

@ -325,8 +325,7 @@ private:
dchar decodeNext() @safe pure nothrow @nogc dchar decodeNext() @safe pure nothrow @nogc
{ {
assert(lastDecodedBufferOffset_ < buffer_.length, assert(lastDecodedBufferOffset_ < buffer_.length,
"Attempted to decode past the end of a string"); "Attempted to decode past the end of YAML buffer");
++decodeCount_;
const char b = buffer_[lastDecodedBufferOffset_]; const char b = buffer_[lastDecodedBufferOffset_];
++lastDecodedCharOffset_; ++lastDecodedCharOffset_;
// ASCII // ASCII