aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2012-08-25 00:03:16 +0900
committerKen Wakasa <kwakasa@google.com>2012-08-25 00:03:16 +0900
commit0d63e6ea84a695f4b4af554aeedff1914a659209 (patch)
tree7af27d9c040df8098b079cce94e8f61036afb97e
parent162c211b44c1546b2e9be36e0cec50de497217a9 (diff)
downloadlatinime-0d63e6ea84a695f4b4af554aeedff1914a659209.tar.gz
latinime-0d63e6ea84a695f4b4af554aeedff1914a659209.tar.xz
latinime-0d63e6ea84a695f4b4af554aeedff1914a659209.zip
Fix initialize order.
Change-Id: I2686540bc6ed858e6d7ddc05a962c93714b94e1d
-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