use macro instead magic number.

This commit is contained in:
2020-08-20 21:56:02 +08:00
parent 2002532b63
commit 2c06e4ae35
2 changed files with 4 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ namespace hgl
xml=nullptr;
if(size<=0)
buffer_size=HGL_SIZE_1KB*128;
buffer_size=XML_PARSE_BUFFER_SIZE;
else
buffer_size=size;