mirror of
https://github.com/yanyiwu/cppjieba.git
synced 2025-07-18 00:00:12 +08:00
提升兼容性,修复在某些特定环境下的编译错误问题。
This commit is contained in:
parent
67cc5941be
commit
e3c57c0ba1
@ -1,5 +1,9 @@
|
||||
# CppJieba ChangeLog
|
||||
|
||||
## v3.0.1(untagged)
|
||||
|
||||
1. 提升兼容性,修复在某些特定环境下的编译错误问题。
|
||||
|
||||
## v3.0.0
|
||||
|
||||
1. 使得 QuerySegment 支持自定义词典(可选参数)。
|
||||
|
@ -98,7 +98,7 @@ class Trie {
|
||||
Unicode::value_type ch = *(begin + i);
|
||||
res[i].uniCh = ch;
|
||||
assert(res[i].dag.empty());
|
||||
res[i].dag.push_back(pair<vector<Unicode >::size_type, const DictUnit* >(i, NULL));
|
||||
res[i].dag.push_back(pair<vector<Unicode >::size_type, const DictUnit* >(i, (const DictUnit*)NULL));
|
||||
bool flag = false;
|
||||
|
||||
// rollback
|
||||
|
Loading…
x
Reference in New Issue
Block a user