aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2012-08-24 08:14:33 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-24 08:14:33 -0700
commitcddddc248b43ed91673253c1d33706c5aceeb2df (patch)
tree7af27d9c040df8098b079cce94e8f61036afb97e
parentd72b83a8ac51b5d9ce2eef8280271308ec55256e (diff)
parentaf197b3e7ba2fda908816863bb9e06bc38af6319 (diff)
downloadlatinime-cddddc248b43ed91673253c1d33706c5aceeb2df.tar.gz
latinime-cddddc248b43ed91673253c1d33706c5aceeb2df.tar.xz
latinime-cddddc248b43ed91673253c1d33706c5aceeb2df.zip
am af197b3e: am 0d63e6ea: Fix initialize order.
* commit 'af197b3e7ba2fda908816863bb9e06bc38af6319': 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