aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/dictionary.h
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2011-06-18 13:09:55 +0900
committerKen Wakasa <kwakasa@google.com>2011-06-18 23:52:09 +0900
commitce9e52a12a6af8fca0eba42aaae24602fbd5c998 (patch)
treedda22b8366af965b1ffa4beb54818e6e35fe0b4f /native/src/dictionary.h
parentc029e0f4a721f0e9972a4669707ad70b079899e4 (diff)
downloadlatinime-ce9e52a12a6af8fca0eba42aaae24602fbd5c998.tar.gz
latinime-ce9e52a12a6af8fca0eba42aaae24602fbd5c998.tar.xz
latinime-ce9e52a12a6af8fca0eba42aaae24602fbd5c998.zip
Clean up in LatinIME native code
Change-Id: I0062200a0181a491690115ac0fab8d11358e2f14
Diffstat (limited to 'native/src/dictionary.h')
-rw-r--r--native/src/dictionary.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/native/src/dictionary.h b/native/src/dictionary.h
index 1b41f69dd..3dc577a56 100644
--- a/native/src/dictionary.h
+++ b/native/src/dictionary.h
@@ -81,7 +81,6 @@ private:
BigramDictionary *mBigramDictionary;
};
-// ----------------------------------------------------------------------------
// public static utility methods
// static inline methods should be defined in the header file
inline unsigned short Dictionary::getChar(const unsigned char *dict, int *pos) {
@@ -134,7 +133,6 @@ inline int Dictionary::getFreq(const unsigned char *dict,
return freq;
}
-
inline int Dictionary::wideStrLen(unsigned short *str) {
if (!str) return 0;
unsigned short *end = str;
@@ -158,5 +156,6 @@ inline int Dictionary::setDictionaryValues(const unsigned char *dict,
return position;
}
-}; // namespace latinime
+} // namespace latinime
+
#endif // LATINIME_DICTIONARY_H