diff options
author | Peng Wu <alexepico@gmail.com> | 2011-08-08 15:24:51 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-08-08 15:24:51 +0800 |
commit | 3de71392c23ff1012b9c38a03e6a53942eb704d5 (patch) | |
tree | ef197587359d76c182aaffb661d60a9bedcec239 /src/lookup/winner_tree.cpp | |
parent | e44f8dc3df4766331b4d4296fd2cf7f88f70145a (diff) | |
download | libpinyin-3de71392c23ff1012b9c38a03e6a53942eb704d5.tar.gz libpinyin-3de71392c23ff1012b9c38a03e6a53942eb704d5.tar.xz libpinyin-3de71392c23ff1012b9c38a03e6a53942eb704d5.zip |
refine namespace pinyin
Diffstat (limited to 'src/lookup/winner_tree.cpp')
-rw-r--r-- | src/lookup/winner_tree.cpp | 2 |
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()]; |