Skip to content
Snippets Groups Projects
Commit ec7457eb authored by Keisuke Kuroynagi's avatar Keisuke Kuroynagi
Browse files

Initialize inputStatusG at the constructor.

Bug: 9490519

Change-Id: I1806f765f7a0b5335df253b2618b40cfd17aab14
parent 9380b56d
No related branches found
No related tags found
No related merge requests found
...@@ -51,6 +51,11 @@ namespace latinime { ...@@ -51,6 +51,11 @@ namespace latinime {
// This struct is purely a bucket to return values. No instances of this struct should be kept. // This struct is purely a bucket to return values. No instances of this struct should be kept.
struct DicNode_InputStateG { 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; bool mNeedsToUpdateInputStateG;
int mPointerId; int mPointerId;
int16_t mInputIndex; int16_t mInputIndex;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment