Merge "Initialize inputStatusG at the constructor."
This commit is contained in:
commit
1db2df0861
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue