aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/words_priority_queue.h
diff options
context:
space:
mode:
authorsatok <satok@google.com>2012-01-13 11:14:05 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-01-13 11:14:05 -0800
commit4341d5ef32b4e723a35f1b037efb02eb369a97b8 (patch)
tree2853daa99192ba6585c315fdf293e627125fbd5b /native/src/words_priority_queue.h
parent6a381444fa68fd925b555d03cc186ac36ea4fa35 (diff)
parentb960477952101633d053b459e669db46d3234ac3 (diff)
downloadlatinime-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.h1
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;
}