From 1cb05c8bd1164c5291a28ddf2c0be04d5a9f4813 Mon Sep 17 00:00:00 2001 From: mgh3326 Date: Fri, 30 Nov 2018 20:58:21 +0900 Subject: [PATCH] Fix two typo --- Huffman.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Huffman.cpp b/Huffman.cpp index bd6fc25..42f5f7f 100644 --- a/Huffman.cpp +++ b/Huffman.cpp @@ -62,7 +62,7 @@ void Huffman::encode(std::string filename) { // Write data and table file to disk if (!writeDataFile(filename)) return; - if (!writeTataFile(filename)) return; + if (!writeTableFile(filename)) return; /* LAG DENNE DELEN OM TIL EN EGEN FUNKSJON @@ -263,7 +263,7 @@ bool Huffman::readTableFile(std::string fstr) { TableEntry temp; if (tablefile) delete tablefile; - tablefile = new Tablefile; + tablefile = new TableFile; std::ifstream file(fstr.c_str(), std::ios::binary);