summaryrefslogtreecommitdiffstats
path: root/src/storage
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-06-22 15:11:55 +0800
committerPeng Wu <alexepico@gmail.com>2016-06-22 15:11:55 +0800
commit6e86a814556844ab5a29f9881ef7a84fdd9cd443 (patch)
tree12561ecbf62c02b11f8a4260e601231977158399 /src/storage
parent43b71c0bb9292c1396d3e58e28f18a0ca2cca703 (diff)
downloadlibpinyin-6e86a814556844ab5a29f9881ef7a84fdd9cd443.tar.gz
libpinyin-6e86a814556844ab5a29f9881ef7a84fdd9cd443.tar.xz
libpinyin-6e86a814556844ab5a29f9881ef7a84fdd9cd443.zip
fixes a typo
Diffstat (limited to 'src/storage')
-rw-r--r--src/storage/phrase_index.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/storage/phrase_index.cpp b/src/storage/phrase_index.cpp
index 752602b..4b03285 100644
--- a/src/storage/phrase_index.cpp
+++ b/src/storage/phrase_index.cpp
@@ -22,7 +22,7 @@
#include "phrase_index.h"
#include "pinyin_custom2.h"
-using namespace pinyin;
+namespace pinyin{
bool PhraseItem::set_n_pronunciation(guint8 n_prouns){
m_chunk.set_content(sizeof(guint8), &n_prouns, sizeof(guint8));
@@ -704,8 +704,6 @@ bool FacadePhraseIndex::mask_out(guint8 phrase_index,
return retval;
}
-namespace pinyin{
-
static bool _peek_header(PhraseIndexLogger * logger,
guint32 & old_total_freq){