summaryrefslogtreecommitdiffstats
path: root/src/storage/tag_utility.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-08-08 15:32:08 +0800
committerPeng Wu <alexepico@gmail.com>2011-08-08 15:32:08 +0800
commitfb0111bf00989afe61d075544b1dd11ce0f69dde (patch)
tree47d87fcc8d90f691ba67c3f997d171ee0145f557 /src/storage/tag_utility.cpp
parent3de71392c23ff1012b9c38a03e6a53942eb704d5 (diff)
downloadlibpinyin-fb0111bf00989afe61d075544b1dd11ce0f69dde.tar.gz
libpinyin-fb0111bf00989afe61d075544b1dd11ce0f69dde.tar.xz
libpinyin-fb0111bf00989afe61d075544b1dd11ce0f69dde.zip
fixes tag utility with namespace
Diffstat (limited to 'src/storage/tag_utility.cpp')
-rw-r--r--src/storage/tag_utility.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/storage/tag_utility.cpp b/src/storage/tag_utility.cpp
index a0179f3..2f4626a 100644
--- a/src/storage/tag_utility.cpp
+++ b/src/storage/tag_utility.cpp
@@ -7,7 +7,7 @@
#include "phrase_large_table.h"
#include "tag_utility.h"
-using namespace pinyin;
+namespace pinyin{
/* internal taglib structure */
struct tag_entry{
@@ -390,3 +390,5 @@ char * taglib_token_to_string(FacadePhraseIndex * phrase_index,
phrase = g_utf16_to_utf8(buffer, length, NULL, NULL, NULL);
return phrase;
}
+
+};