aboutsummaryrefslogtreecommitdiff
path: root/src/zlib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zlib.cpp')
-rw-r--r--src/zlib.cpp4
1 files changed, 2 insertions, 2 deletions
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++;
}
}