From e5fb8360dade26be72238e21d801885169647e71 Mon Sep 17 00:00:00 2001 From: Dainius Kreivys Date: Mon, 16 Jan 2017 11:00:03 +0200 Subject: [PATCH] Fixed couple semantic issues writeTataFile changed to writeTableFile new Tablefile changed to new TableFile --- 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);