summaryrefslogtreecommitdiffstats
path: root/src/storage
diff options
context:
space:
mode:
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){