From 82fb6bc4d0e86b9abf0ca1877b943ca2189de872 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Wed, 12 Jul 2017 10:28:40 +0200 Subject: [PATCH] Remove use of tree.h All code using tree.h where commented. As tree.h where install by kiwix-lib and we removed it there, let's remove its use here. --- src/reader/kiwix-read.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/reader/kiwix-read.cpp b/src/reader/kiwix-read.cpp index 5e81480..7b8761c 100644 --- a/src/reader/kiwix-read.cpp +++ b/src/reader/kiwix-read.cpp @@ -18,7 +18,6 @@ */ #include -#include #include #include #include @@ -30,12 +29,6 @@ void usage() exit(1); } -void updateSuggestionTree(tree>& suggestionTree, - string suggestion) -{ - return; -} - int main(int argc, char** argv) { /* Init the variables */ @@ -108,9 +101,6 @@ int main(int argc, char** argv) } */ - // tree< pair > tree; - // updateSuggestionTree(tree, string(suggestion)); - delete reader; } else { cerr << "Unable instanciate the Kiwix reader." << endl;