diff options
author | 2012-01-13 11:14:05 -0800 | |
---|---|---|
committer | 2012-01-13 11:14:05 -0800 | |
commit | 4341d5ef32b4e723a35f1b037efb02eb369a97b8 (patch) | |
tree | 2853daa99192ba6585c315fdf293e627125fbd5b /native/src/words_priority_queue.h | |
parent | 6a381444fa68fd925b555d03cc186ac36ea4fa35 (diff) | |
parent | b960477952101633d053b459e669db46d3234ac3 (diff) | |
download | latinime-4341d5ef32b4e723a35f1b037efb02eb369a97b8.tar.gz latinime-4341d5ef32b4e723a35f1b037efb02eb369a97b8.tar.xz latinime-4341d5ef32b4e723a35f1b037efb02eb369a97b8.zip |
am b9604779: Use placement new to construct the queue
* commit 'b960477952101633d053b459e669db46d3234ac3':
Use placement new to construct the queue
Diffstat (limited to 'native/src/words_priority_queue.h')
-rw-r--r-- | native/src/words_priority_queue.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/native/src/words_priority_queue.h b/native/src/words_priority_queue.h index 84f2523c2..97d45c1d9 100644 --- a/native/src/words_priority_queue.h +++ b/native/src/words_priority_queue.h @@ -48,6 +48,7 @@ class WordsPriorityQueue { mSuggestedWords[i].mUsed = false; } } + ~WordsPriorityQueue() { delete[] mSuggestedWords; } |