diff options
author | 2013-06-20 05:16:17 +0000 | |
---|---|---|
committer | 2013-06-20 05:16:18 +0000 | |
commit | 1db2df08617c8304f59ba44a1a541c02b3d007af (patch) | |
tree | e40a9e55e350719b8a78ad04228c936ccef0f54a | |
parent | 7937f09264623f38b411be2b5cca77f42fd192f9 (diff) | |
parent | ec7457eb7f15245a082cd81e42d08dbe39aab4cd (diff) | |
download | latinime-1db2df08617c8304f59ba44a1a541c02b3d007af.tar.gz latinime-1db2df08617c8304f59ba44a1a541c02b3d007af.tar.xz latinime-1db2df08617c8304f59ba44a1a541c02b3d007af.zip |
Merge "Initialize inputStatusG at the constructor."
-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; |