From e736f294c5b4a4407e79430080233654d02f912b Mon Sep 17 00:00:00 2001 From: PKEuS Date: Mon, 16 Jul 2012 03:27:55 -0700 Subject: [PATCH] XMLPrinter::accumulator is only needed if MSVC is used. --- tinyxml2.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tinyxml2.h b/tinyxml2.h index 1ad2f6f..e1c22c5 100644 --- a/tinyxml2.h +++ b/tinyxml2.h @@ -1467,7 +1467,10 @@ private: bool restrictedEntityFlag[ENTITY_RANGE]; DynArray< const char*, 10 > stack; - DynArray< char, 20 > buffer, accumulator; + DynArray< char, 20 > buffer; +#ifdef _MSC_VER + DynArray< char, 20 > accumulator; +#endif };