aboutsummaryrefslogtreecommitdiff
path: root/test/trie.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/trie.cc')
-rw-r--r--test/trie.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/trie.cc b/test/trie.cc
index 628daabf..41b56c70 100644
--- a/test/trie.cc
+++ b/test/trie.cc
@@ -1,10 +1,7 @@
-#include "../dw/fltkcore.hh"
#include "../dw/hyphenator.hh"
int main (int argc, char *argv[])
{
- dw::fltk::FltkPlatform p;
-
if (argc < 2) {
fprintf(stderr, "Usage: trie <pattern file>\n");
exit (1);
@@ -12,6 +9,6 @@ int main (int argc, char *argv[])
/* Use pack = 1024 to create a really small trie - can take a while.
*/
- dw::Hyphenator hyphenator (&p, argv[1], NULL, 1024);
+ dw::Hyphenator hyphenator (argv[1], NULL, 1024);
hyphenator.saveTrie (stdout);
}