diff options
author | 2011-12-16 01:46:03 -0800 | |
---|---|---|
committer | 2011-12-16 01:46:03 -0800 | |
commit | a53762035b4daaa10c002479ffa7a651909dbe99 (patch) | |
tree | e6da4ed97c6dcc476a946f91f6f03b90347411a9 /native/src/words_priority_queue.h | |
parent | 135336f6439067a8d1d1e915d85fe4d46c510365 (diff) | |
parent | d3bf7ac12fc4680dbed15ad51caf7165fc015241 (diff) | |
download | latinime-a53762035b4daaa10c002479ffa7a651909dbe99.tar.gz latinime-a53762035b4daaa10c002479ffa7a651909dbe99.tar.xz latinime-a53762035b4daaa10c002479ffa7a651909dbe99.zip |
am d3bf7ac1: Merge "Prepare for proximity + two words suggestion"
* commit 'd3bf7ac12fc4680dbed15ad51caf7165fc015241':
Prepare for proximity + two words suggestion
Diffstat (limited to 'native/src/words_priority_queue.h')
-rw-r--r-- | native/src/words_priority_queue.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/native/src/words_priority_queue.h b/native/src/words_priority_queue.h index a4175d3e0..2d6270977 100644 --- a/native/src/words_priority_queue.h +++ b/native/src/words_priority_queue.h @@ -111,6 +111,10 @@ public: return size; } + int size() { + return mSuggestions.size(); + } + void clear() { while (!mSuggestions.empty()) { SuggestedWord* sw = mSuggestions.top(); |