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/correction.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/correction.h')
-rw-r--r-- | native/jni/src/correction.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/native/jni/src/correction.h b/native/jni/src/correction.h index 105a95f38..912cd838e 100644 --- a/native/jni/src/correction.h +++ b/native/jni/src/correction.h @@ -56,7 +56,8 @@ class Correction { // No need to initialize it explicitly here. } - virtual ~Correction() {} + // Non virtual inline destructor -- never inherit this class + ~Correction() {} void resetCorrection(); void initCorrection( const ProximityInfo *pi, const int inputSize, const int maxWordLength); |