diff options
author | 2012-11-03 02:50:47 +0900 | |
---|---|---|
committer | 2012-11-05 14:26:53 +0900 | |
commit | 6e66349ed1d37c24a1a23bf117df6750ad53d322 (patch) | |
tree | 81870219766a74e85af6937d306e1f13662ed47a /native/jni/src/gesture/incremental_decoder_wrapper.h | |
parent | 19d844c7a7dccf2b4f03003f1fae65496526999f (diff) | |
download | latinime-6e66349ed1d37c24a1a23bf117df6750ad53d322.tar.gz latinime-6e66349ed1d37c24a1a23bf117df6750ad53d322.tar.xz latinime-6e66349ed1d37c24a1a23bf117df6750ad53d322.zip |
Adjust compiler warning options with the offdevice Makefile
Make use of AK_FORCE_INLINE for -Winline and better performance
Change-Id: If0016e2ef61c1fe007c83bb1a5133a6b6bde568e
Diffstat (limited to 'native/jni/src/gesture/incremental_decoder_wrapper.h')
-rw-r--r-- | native/jni/src/gesture/incremental_decoder_wrapper.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/native/jni/src/gesture/incremental_decoder_wrapper.h b/native/jni/src/gesture/incremental_decoder_wrapper.h index 691d4952d..7d16560ef 100644 --- a/native/jni/src/gesture/incremental_decoder_wrapper.h +++ b/native/jni/src/gesture/incremental_decoder_wrapper.h @@ -33,9 +33,7 @@ class IncrementalDecoderWrapper : public IncrementalDecoderInterface { : mIncrementalDecoderInterface(getIncrementalDecoderInstance(maxWordLength, maxWords)) { } - virtual ~IncrementalDecoderWrapper() { - delete mIncrementalDecoderInterface; - } + virtual ~IncrementalDecoderWrapper(); int getSuggestions(ProximityInfo *pInfo, void *traverseSession, int *inputXs, int *inputYs, int *times, int *pointerIds, int *codes, int inputSize, int commitPoint, int *outWords, |