Ver Fonte

fix duplicated COUNT logic

Lee Thomason (grinliz) há 13 anos atrás
pai
commit
856da21652
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      tinyxml2.h

+ 1 - 1
tinyxml2.h

@@ -356,7 +356,7 @@ private:
         char    mem[SIZE];
         char    mem[SIZE];
     };
     };
     struct Block {
     struct Block {
-        Chunk chunk[1024/SIZE];
+        Chunk chunk[COUNT];
     };
     };
     DynArray< Block*, 10 > _blockPtrs;
     DynArray< Block*, 10 > _blockPtrs;
     Chunk* _root;
     Chunk* _root;