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.
This commit is contained in:
Matthieu Gautier 2017-07-12 10:28:40 +02:00
parent 17eceeff5b
commit 82fb6bc4d0

View File

@ -18,7 +18,6 @@
*/ */
#include <getopt.h> #include <getopt.h>
#include <kiwix/common/tree.h>
#include <kiwix/reader.h> #include <kiwix/reader.h>
#include <unistd.h> #include <unistd.h>
#include <map> #include <map>
@ -30,12 +29,6 @@ void usage()
exit(1); exit(1);
} }
void updateSuggestionTree(tree<pair<string, unsigned>>& suggestionTree,
string suggestion)
{
return;
}
int main(int argc, char** argv) int main(int argc, char** argv)
{ {
/* Init the variables */ /* Init the variables */
@ -108,9 +101,6 @@ int main(int argc, char** argv)
} }
*/ */
// tree< pair<string, unsigned> > tree;
// updateSuggestionTree(tree, string(suggestion));
delete reader; delete reader;
} else { } else {
cerr << "Unable instanciate the Kiwix reader." << endl; cerr << "Unable instanciate the Kiwix reader." << endl;