diff options
author | 2012-08-12 11:10:48 +0900 | |
---|---|---|
committer | 2012-08-13 10:48:37 +0900 | |
commit | bcec82de66f52655593dc233346f11468f5077a0 (patch) | |
tree | 2237aa0f754e3ab44ccfac034f5ef6e17ffda724 /native/jni/src/gesture/incremental_decoder_interface.h | |
parent | 814510305c21b3081414e75e040dec4b73f6cdf3 (diff) | |
download | latinime-bcec82de66f52655593dc233346f11468f5077a0.tar.gz latinime-bcec82de66f52655593dc233346f11468f5077a0.tar.xz latinime-bcec82de66f52655593dc233346f11468f5077a0.zip |
Clean up constructors
And, use C++ style casts and use float math functions rather than double ones to save memory space.
Also, stop using FloatMath and NativeUtils as standard Math methods are faster now.
See http://code.google.com/p/android/issues/detail?id=36199 and https://android-review.googlesource.com/40700
multi-project commit with I4259fb5ab8a15ac5760a7f04fc8f4c860529f04a
Change-Id: I0b81cff8c91769f7559a59b9528c75a5aabb4211
Diffstat (limited to 'native/jni/src/gesture/incremental_decoder_interface.h')
-rw-r--r-- | native/jni/src/gesture/incremental_decoder_interface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/native/jni/src/gesture/incremental_decoder_interface.h b/native/jni/src/gesture/incremental_decoder_interface.h index 3951514c0..e940344d4 100644 --- a/native/jni/src/gesture/incremental_decoder_interface.h +++ b/native/jni/src/gesture/incremental_decoder_interface.h @@ -34,9 +34,10 @@ class IncrementalDecoderInterface { int *outputIndices, int *outputTypes) = 0; virtual void setDict(const UnigramDictionary *dict, const BigramDictionary *bigram, const uint8_t *dictRoot, int rootPos) = 0; + IncrementalDecoderInterface() { }; virtual ~IncrementalDecoderInterface() { }; private: - //DISALLOW_COPY_AND_ASSIGN(IncrementalDecoderInterface); + DISALLOW_COPY_AND_ASSIGN(IncrementalDecoderInterface); }; } // namespace latinime #endif // LATINIME_INCREMENTAL_DECODER_INTERFACE_H |