Merge pull request #48 from kiwix/no_use_of_tree_h

Remove use of tree.h
This commit is contained in:
Matthieu Gautier 2017-07-12 14:45:38 +02:00 committed by GitHub
commit 08f2373360

View File

@ -18,7 +18,6 @@
*/
#include <getopt.h>
#include <kiwix/common/tree.h>
#include <kiwix/reader.h>
#include <unistd.h>
#include <map>
@ -30,12 +29,6 @@ void usage()
exit(1);
}
void updateSuggestionTree(tree<pair<string, unsigned>>& 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<string, unsigned> > tree;
// updateSuggestionTree(tree, string(suggestion));
delete reader;
} else {
cerr << "Unable instanciate the Kiwix reader." << endl;