summaryrefslogtreecommitdiffstats
path: root/src/storage/ngram.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-04-18 15:42:21 +0800
committerPeng Wu <alexepico@gmail.com>2011-04-18 15:42:21 +0800
commit469bcc917fdc827b6904c329a3c7c6e8c43aabaf (patch)
treebe3dc01d38e5af35e26b6280d8d36dd997898aa2 /src/storage/ngram.cpp
parent643bbc2a749f9a37a915c9daedaf544478711e42 (diff)
downloadlibpinyin-469bcc917fdc827b6904c329a3c7c6e8c43aabaf.tar.gz
libpinyin-469bcc917fdc827b6904c329a3c7c6e8c43aabaf.tar.xz
libpinyin-469bcc917fdc827b6904c329a3c7c6e8c43aabaf.zip
add insert/remove array item to flexible bi-gram
Diffstat (limited to 'src/storage/ngram.cpp')
-rw-r--r--src/storage/ngram.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/ngram.cpp b/src/storage/ngram.cpp
index 664ecb6..e836ee5 100644
--- a/src/storage/ngram.cpp
+++ b/src/storage/ngram.cpp
@@ -73,7 +73,7 @@ bool SingleGram::prune(){
return true;
}
-bool token_less_than(const SingleGramItem & lhs,const SingleGramItem & rhs){
+static bool token_less_than(const SingleGramItem & lhs,const SingleGramItem & rhs){
return lhs.m_token < rhs.m_token;
}