aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/gesture/incremental_decoder_wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'native/jni/src/gesture/incremental_decoder_wrapper.h')
-rw-r--r--native/jni/src/gesture/incremental_decoder_wrapper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/native/jni/src/gesture/incremental_decoder_wrapper.h b/native/jni/src/gesture/incremental_decoder_wrapper.h
index 1f4d8a047..da7afdb8a 100644
--- a/native/jni/src/gesture/incremental_decoder_wrapper.h
+++ b/native/jni/src/gesture/incremental_decoder_wrapper.h
@@ -29,8 +29,8 @@ class ProximityInfo;
class IncrementalDecoderWrapper : public IncrementalDecoderInterface {
public:
- IncrementalDecoderWrapper(const int maxWordLength, const int maxWords) {
- mIncrementalDecoderInterface = getIncrementalDecoderInstance(maxWordLength, maxWords);
+ IncrementalDecoderWrapper(const int maxWordLength, const int maxWords)
+ : mIncrementalDecoderInterface(getIncrementalDecoderInstance(maxWordLength, maxWords)) {
}
virtual ~IncrementalDecoderWrapper() {