From dadd67eeb0a04bd6d55711cc67c20fdc19b78239 Mon Sep 17 00:00:00 2001 From: Ferdinand Majerech Date: Tue, 22 Jul 2014 02:11:31 +0200 Subject: [PATCH] Removed @property in UTFDecoder. --- source/dyaml/reader.d | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/dyaml/reader.d b/source/dyaml/reader.d index 767d32c..0499e65 100644 --- a/source/dyaml/reader.d +++ b/source/dyaml/reader.d @@ -436,16 +436,16 @@ struct UTFBlockDecoder(size_t bufferSize_) if (bufferSize_ % 2 == 0) } /// Get maximum number of characters that might be in the stream. - @property size_t maxChars() const pure @safe nothrow @nogc { return maxChars_; } + size_t maxChars() const pure @safe nothrow @nogc { return maxChars_; } /// Get encoding we're decoding from. - @property UTFEncoding encoding() const pure @safe nothrow @nogc { return encoding_; } + UTFEncoding encoding() const pure @safe nothrow @nogc { return encoding_; } /// Get the current position in stream. size_t position() @trusted { return stream_.position; } /// Are we done decoding? - @property bool done() const pure @safe nothrow @nogc + bool done() const pure @safe nothrow @nogc { return rawUsed_ == 0 && buffer_.length == 0 && available_ == 0; }