From e256d4c0042a57af0ce343448c58ad7df1611176 Mon Sep 17 00:00:00 2001 From: Ferdinand Majerech Date: Sat, 26 Jul 2014 04:24:30 +0200 Subject: [PATCH] Removed the no longer used Appender from Scanner. --- source/dyaml/scanner.d | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source/dyaml/scanner.d b/source/dyaml/scanner.d index d78b1f3..009c145 100644 --- a/source/dyaml/scanner.d +++ b/source/dyaml/scanner.d @@ -144,9 +144,6 @@ final class Scanner /// Possible simple keys indexed by flow levels. SimpleKey[] possibleSimpleKeys_; - /// Used for constructing strings while limiting reallocation. - Appender!(dchar[]) appender_; - /// Set on error by nothrow/@nogc inner functions along with errorData_. /// @@ -172,7 +169,6 @@ final class Scanner { // Return the next token, but do not delete it from the queue reader_ = reader; - appender_ = appender!(dchar[])(); fetchStreamStart(); } @@ -183,7 +179,6 @@ final class Scanner indents_.destroy(); possibleSimpleKeys_.destroy(); possibleSimpleKeys_ = null; - appender_.destroy(); reader_ = null; }