From 7711536253315ba3b3628b8c6706573317c7e201 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 24 May 2026 22:59:09 +1200 Subject: feat: Cleanups Cleaning up code so its ready for release --- src/zlib.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/zlib.cpp') diff --git a/src/zlib.cpp b/src/zlib.cpp index 221137c..0b9cdb5 100644 --- a/src/zlib.cpp +++ b/src/zlib.cpp @@ -134,7 +134,7 @@ namespace TehImage { if(staticTree) return; - cout << "Building static tree" << endl; + // cout << "Building static tree" << endl; buildStaticHuffmanTree(&tree, &distTree); staticTree = true; haveTree = true; @@ -510,7 +510,7 @@ namespace TehImage else { writeCode(&outStream, codes[data[inPos]], codeLens[data[inPos]]); - hashTable.insert(curr, inPos); + hashTable.insertOrUpdate(curr, inPos); inPos++; } } -- cgit v1.2.3