From 6e86a814556844ab5a29f9881ef7a84fdd9cd443 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 22 Jun 2016 15:11:55 +0800 Subject: fixes a typo --- src/storage/phrase_index.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/storage') 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){ -- cgit