aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/words_priority_queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/words_priority_queue.h')
-rw-r--r--native/src/words_priority_queue.h4
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();