From f925b1e34a37f78836c00d679524b9462a736b0d Mon Sep 17 00:00:00 2001
From: Ken Wakasa <kwakasa@google.com>
Date: Fri, 6 Dec 2013 19:43:30 +0900
Subject: [PATCH] Fix offdevice TRT build

Change-Id: Idc2f3897e592433c13361bd8af94530d81621764
---
 native/jni/src/suggest/core/dictionary/unigram_property.h | 4 ++--
 1 file 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 e93093bf4e..c4ebb86abc 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),
-- 
GitLab