am af197b3e: am 0d63e6ea: Fix initialize order.

* commit 'af197b3e7ba2fda908816863bb9e06bc38af6319':
  Fix initialize order.
main
Ken Wakasa 2012-08-24 08:14:33 -07:00 committed by Android Git Automerger
commit cddddc248b
1 changed files with 2 additions and 2 deletions

View File

@ -86,11 +86,11 @@ class WordsPriorityQueuePool {
private: private:
DISALLOW_IMPLICIT_CONSTRUCTORS(WordsPriorityQueuePool); DISALLOW_IMPLICIT_CONSTRUCTORS(WordsPriorityQueuePool);
WordsPriorityQueue *mMasterQueue;
WordsPriorityQueue *mSubQueues[SUB_QUEUE_MAX_COUNT * MULTIPLE_WORDS_SUGGESTION_MAX_WORDS];
char mMasterQueueBuf[sizeof(WordsPriorityQueue)]; char mMasterQueueBuf[sizeof(WordsPriorityQueue)];
char mSubQueueBuf[SUB_QUEUE_MAX_COUNT * MULTIPLE_WORDS_SUGGESTION_MAX_WORDS char mSubQueueBuf[SUB_QUEUE_MAX_COUNT * MULTIPLE_WORDS_SUGGESTION_MAX_WORDS
* sizeof(WordsPriorityQueue)]; * sizeof(WordsPriorityQueue)];
WordsPriorityQueue *mMasterQueue;
WordsPriorityQueue *mSubQueues[SUB_QUEUE_MAX_COUNT * MULTIPLE_WORDS_SUGGESTION_MAX_WORDS];
}; };
} // namespace latinime } // namespace latinime
#endif // LATINIME_WORDS_PRIORITY_QUEUE_POOL_H #endif // LATINIME_WORDS_PRIORITY_QUEUE_POOL_H