]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/xmlstuff.h
added buffering to minimise GtkTextBuffer insert calls
[xonotic/netradiant.git] / radiant / xmlstuff.h
index 34a52bf4426d550f9b6b7dd8408f07c9d5dc1ce5..0ffb8e2b9cde3a5282c4a4255c252c24d14b8fc1 100644 (file)
@@ -58,7 +58,7 @@ struct message_info_t
   int geometry_depth; // are we parsing some geometry information (i.e. do we forward the SAX calls?)
   ISAXHandler* pGeometry; // the handler
 
-  static const int bufsize = 1024;
+  enum unnamed0 { bufsize = 1024 };
   char m_buffer[bufsize];
   std::size_t m_length;
 };