使用 JavaScript能使本网站更好的工作。
首页
帮助
登录
lolengine
/
lol
镜像自地址
https://github.com/lolengine/lol
关注
1
点赞
0
派生
0
代码
工单
0
版本发布
0
百科
动态
浏览代码
base: fix a data loss bug in the avl_tree copy constructor.
undefined
Sam Hocevar
10 年前
父节点
b907e0d03d
当前提交
7cc072d1be
共有
1 个文件被更改
,包括
6 次插入
和
3 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+6
-3
src/lol/base/avl_tree.h
+ 6
- 3
src/lol/base/avl_tree.h
查看文件
@@ -39,10 +39,13 @@ public:
avl_tree & operator=(avl_tree const & other)
{
clear();
if (&other != this)
{
clear();
for (auto it : other)
insert(it.key, it.value);
for (auto it : other)
insert(it.key, it.value);
}
return *this;
}
撰写
预览
正在加载...
取消
保存