aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/words_priority_queue_pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'native/jni/src/words_priority_queue_pool.h')
-rw-r--r--native/jni/src/words_priority_queue_pool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/native/jni/src/words_priority_queue_pool.h b/native/jni/src/words_priority_queue_pool.h
index c14afa07b..f7c08fb52 100644
--- a/native/jni/src/words_priority_queue_pool.h
+++ b/native/jni/src/words_priority_queue_pool.h
@@ -17,7 +17,7 @@
#ifndef LATINIME_WORDS_PRIORITY_QUEUE_POOL_H
#define LATINIME_WORDS_PRIORITY_QUEUE_POOL_H
-#include <cassert>
+#include "defines.h"
#include "words_priority_queue.h"
namespace latinime {
@@ -55,7 +55,7 @@ class WordsPriorityQueuePool {
}
if (inputWordLength < 0 || inputWordLength >= SUB_QUEUE_MAX_COUNT) {
if (DEBUG_WORDS_PRIORITY_QUEUE) {
- assert(false);
+ ASSERT(false);
}
return 0;
}