このサイトはJavaScriptを使用しています
ホーム
ヘルプ
サインイン
lolengine
/
lol
ミラー元
https://github.com/lolengine/lol
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
リリース
0
Wiki
アクティビティ
ソースを参照
base: fix a data loss bug in the avl_tree copy constructor.
undefined
Sam Hocevar
11年前
親
b907e0d03d
コミット
7cc072d1be
1個のファイルの変更
、
6行の追加
、
3行の削除
分割表示
差分オプション
統計情報を表示
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;
}
書き込み
プレビュー
読み込み中…
キャンセル
保存