summaryrefslogtreecommitdiffstats
path: root/src/storage/phrase_index.h
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.h
parente44f8dc3df4766331b4d4296fd2cf7f88f70145a (diff)
downloadlibpinyin-3de71392c23ff1012b9c38a03e6a53942eb704d5.tar.gz
libpinyin-3de71392c23ff1012b9c38a03e6a53942eb704d5.tar.xz
libpinyin-3de71392c23ff1012b9c38a03e6a53942eb704d5.zip
refine namespace pinyin
Diffstat (limited to 'src/storage/phrase_index.h')
-rw-r--r--src/storage/phrase_index.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/storage/phrase_index.h b/src/storage/phrase_index.h
index d7fd4bc..ccabc9b 100644
--- a/src/storage/phrase_index.h
+++ b/src/storage/phrase_index.h
@@ -44,10 +44,10 @@
* ++++++++++++++++++++++++++++++++++++++++++
*/
-class PinyinLookup;
-
namespace pinyin{
+class PinyinLookup;
+
/* Because this is not large,
* Store this in user home directory.
*/
@@ -185,7 +185,7 @@ public:
};
class FacadePhraseIndex{
- friend class ::PinyinLookup;
+ friend class PinyinLookup;
private:
guint32 m_total_freq;
SubPhraseIndex * m_sub_phrase_indices[PHRASE_INDEX_LIBRARY_COUNT];
@@ -265,10 +265,4 @@ public:
};
-using namespace pinyin;
-
-
-
-
-
#endif