diff options
author | 2013-12-06 19:43:30 +0900 | |
---|---|---|
committer | 2013-12-06 19:46:33 +0900 | |
commit | f925b1e34a37f78836c00d679524b9462a736b0d (patch) | |
tree | a8a55f584e2ba6335de54be0bc7ebc8cdf13429b | |
parent | 4d02aa4e8c9e0d23cde9b02530d3036a78f11403 (diff) | |
download | latinime-f925b1e34a37f78836c00d679524b9462a736b0d.tar.gz latinime-f925b1e34a37f78836c00d679524b9462a736b0d.tar.xz latinime-f925b1e34a37f78836c00d679524b9462a736b0d.zip |
Fix offdevice TRT build
Change-Id: Idc2f3897e592433c13361bd8af94530d81621764
-rw-r--r-- | native/jni/src/suggest/core/dictionary/unigram_property.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/native/jni/src/suggest/core/dictionary/unigram_property.h b/native/jni/src/suggest/core/dictionary/unigram_property.h index e93093bf4..c4ebb86ab 100644 --- a/native/jni/src/suggest/core/dictionary/unigram_property.h +++ b/native/jni/src/suggest/core/dictionary/unigram_property.h @@ -17,6 +17,7 @@ #ifndef LATINIME_UNIGRAM_PROPERTY_H #define LATINIME_UNIGRAM_PROPERTY_H +#include <cstring> #include <vector> #include "defines.h" @@ -31,8 +32,7 @@ class UnigramProperty { UnigramProperty() : mCodePoints(), mCodePointCount(0), mIsNotAWord(false), mIsBlacklisted(false), mHasBigrams(false), mHasShortcuts(false), mProbability(NOT_A_PROBABILITY), - mTimestamp(0), mLevel(0), mCount(0), mShortcutTargets(), - mShortcutProbabilities() {} + mTimestamp(0), mLevel(0), mCount(0), mShortcutTargets(), mShortcutProbabilities() {} UnigramProperty(const UnigramProperty &unigramProperty) : mCodePoints(), mCodePointCount(unigramProperty.mCodePointCount), |