diff options
author | 2013-06-19 22:18:35 -0700 | |
---|---|---|
committer | 2013-06-19 22:18:35 -0700 | |
commit | 2b386279e5c5ac8c425e6fd56b3c8f32010fc853 (patch) | |
tree | 1937516df415aac031822f3f5b68cdcb81ad70ff /native/jni/src | |
parent | 7eb3b05cde4427edd824d23eeeb59b8d9cb2499d (diff) | |
parent | 1db2df08617c8304f59ba44a1a541c02b3d007af (diff) | |
download | latinime-2b386279e5c5ac8c425e6fd56b3c8f32010fc853.tar.gz latinime-2b386279e5c5ac8c425e6fd56b3c8f32010fc853.tar.xz latinime-2b386279e5c5ac8c425e6fd56b3c8f32010fc853.zip |
am 1db2df08: Merge "Initialize inputStatusG at the constructor."
* commit '1db2df08617c8304f59ba44a1a541c02b3d007af':
Initialize inputStatusG at the constructor.
Diffstat (limited to 'native/jni/src')
-rw-r--r-- | native/jni/src/suggest/core/dicnode/dic_node.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/native/jni/src/suggest/core/dicnode/dic_node.h b/native/jni/src/suggest/core/dicnode/dic_node.h index 25299948d..46aa0d08e 100644 --- a/native/jni/src/suggest/core/dicnode/dic_node.h +++ b/native/jni/src/suggest/core/dicnode/dic_node.h @@ -51,6 +51,11 @@ namespace latinime { // This struct is purely a bucket to return values. No instances of this struct should be kept. struct DicNode_InputStateG { + DicNode_InputStateG() + : mNeedsToUpdateInputStateG(false), mPointerId(0), mInputIndex(0), + mPrevCodePoint(0), mTerminalDiffCost(0.0f), mRawLength(0.0f), + mDoubleLetterLevel(NOT_A_DOUBLE_LETTER) {} + bool mNeedsToUpdateInputStateG; int mPointerId; int16_t mInputIndex; |