summaryrefslogtreecommitdiffstats
path: root/src/lookup/winner_tree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lookup/winner_tree.cpp')
-rw-r--r--src/lookup/winner_tree.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lookup/winner_tree.cpp b/src/lookup/winner_tree.cpp
index da87951..29135f5 100644
--- a/src/lookup/winner_tree.cpp
+++ b/src/lookup/winner_tree.cpp
@@ -27,6 +27,8 @@
#include "pinyin_lookup.h"
#include "winner_tree.h"
+using namespace pinyin;
+
WinnerTreeBranchIterator::WinnerTreeBranchIterator(WinnerTree & tree)
:m_tree(tree), m_counter(0){
m_max_value = m_tree.m_items[m_tree.get_winner()];