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/phrase_index_logger.h | |
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/phrase_index_logger.h')
-rw-r--r-- | src/storage/phrase_index_logger.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/phrase_index_logger.h b/src/storage/phrase_index_logger.h index cffd937..d1e42b6 100644 --- a/src/storage/phrase_index_logger.h +++ b/src/storage/phrase_index_logger.h @@ -294,7 +294,7 @@ public: break; } default: - assert(false); + abort(); } /* store log record. */ |