aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2012-08-24 08:11:50 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-24 08:11:50 -0700
commitaf197b3e7ba2fda908816863bb9e06bc38af6319 (patch)
tree7af27d9c040df8098b079cce94e8f61036afb97e
parentc4d92502027ecfc07a730f273adfda7267f49759 (diff)
parent0d63e6ea84a695f4b4af554aeedff1914a659209 (diff)
downloadlatinime-af197b3e7ba2fda908816863bb9e06bc38af6319.tar.gz
latinime-af197b3e7ba2fda908816863bb9e06bc38af6319.tar.xz
latinime-af197b3e7ba2fda908816863bb9e06bc38af6319.zip
am 0d63e6ea: Fix initialize order.
* commit '0d63e6ea84a695f4b4af554aeedff1914a659209': Fix initialize order.
-rw-r--r--native/jni/src/words_priority_queue_pool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/native/jni/src/words_priority_queue_pool.h b/native/jni/src/words_priority_queue_pool.h
index 1112229da..c5de9797f 100644
--- a/native/jni/src/words_priority_queue_pool.h
+++ b/native/jni/src/words_priority_queue_pool.h
@@ -86,11 +86,11 @@ class WordsPriorityQueuePool {
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(WordsPriorityQueuePool);
- WordsPriorityQueue *mMasterQueue;
- WordsPriorityQueue *mSubQueues[SUB_QUEUE_MAX_COUNT * MULTIPLE_WORDS_SUGGESTION_MAX_WORDS];
char mMasterQueueBuf[sizeof(WordsPriorityQueue)];
char mSubQueueBuf[SUB_QUEUE_MAX_COUNT * MULTIPLE_WORDS_SUGGESTION_MAX_WORDS
* sizeof(WordsPriorityQueue)];
+ WordsPriorityQueue *mMasterQueue;
+ WordsPriorityQueue *mSubQueues[SUB_QUEUE_MAX_COUNT * MULTIPLE_WORDS_SUGGESTION_MAX_WORDS];
};
} // namespace latinime
#endif // LATINIME_WORDS_PRIORITY_QUEUE_POOL_H