diff options
| author | Peng Wu <alexepico@gmail.com> | 2022-06-06 17:32:00 +0800 |
|---|---|---|
| committer | Peng Wu <alexepico@gmail.com> | 2022-06-06 17:32:00 +0800 |
| commit | 2323c59d337ca56c585a8b58b855e84938ecfc27 (patch) | |
| tree | dc32a1af5a593170bd6149d361521832f1885ca5 /src/storage/ngram.cpp | |
| parent | 5f3df104b5ac0c3497a48cfc476eb3eedf1e543b (diff) | |
| download | libpinyin-2323c59d337ca56c585a8b58b855e84938ecfc27.tar.gz libpinyin-2323c59d337ca56c585a8b58b855e84938ecfc27.tar.xz libpinyin-2323c59d337ca56c585a8b58b855e84938ecfc27.zip | |
Use abort function instead of assert macro
Diffstat (limited to 'src/storage/ngram.cpp')
| -rw-r--r-- | src/storage/ngram.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/ngram.cpp b/src/storage/ngram.cpp index ca845c5..c952768 100644 --- a/src/storage/ngram.cpp +++ b/src/storage/ngram.cpp @@ -105,7 +105,7 @@ guint32 SingleGram::mask_out(phrase_token_t mask, phrase_token_t value){ } bool SingleGram::prune(){ - assert(false); + abort(); #if 0 SingleGramItem * begin = (SingleGramItem *) ((const char *)(m_chunk.begin()) + sizeof(guint32)); |
