summaryrefslogtreecommitdiffstats
path: root/src/storage/phrase_index.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-08-08 15:24:51 +0800
committerPeng Wu <alexepico@gmail.com>2011-08-08 15:24:51 +0800
commit3de71392c23ff1012b9c38a03e6a53942eb704d5 (patch)
treeef197587359d76c182aaffb661d60a9bedcec239 /src/storage/phrase_index.cpp
parente44f8dc3df4766331b4d4296fd2cf7f88f70145a (diff)
downloadlibpinyin-3de71392c23ff1012b9c38a03e6a53942eb704d5.tar.gz
libpinyin-3de71392c23ff1012b9c38a03e6a53942eb704d5.tar.xz
libpinyin-3de71392c23ff1012b9c38a03e6a53942eb704d5.zip
refine namespace pinyin
Diffstat (limited to 'src/storage/phrase_index.cpp')
-rw-r--r--src/storage/phrase_index.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/storage/phrase_index.cpp b/src/storage/phrase_index.cpp
index 364601e..33da334 100644
--- a/src/storage/phrase_index.cpp
+++ b/src/storage/phrase_index.cpp
@@ -21,6 +21,8 @@
#include "phrase_index.h"
+using namespace pinyin;
+
bool PhraseItem::set_n_pronunciation(guint8 n_prouns){
m_chunk.set_content(sizeof(guint8), &n_prouns, sizeof(guint8));
return true;