Il sito funziona meglio con JavaScript.
Home
Aiuto
Accedi
lolengine
/
lol
mirror da
https://github.com/lolengine/lol
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
base: fix a data loss bug in the avl_tree copy constructor.
undefined
Sam Hocevar
10 anni fa
parent
b907e0d03d
commit
7cc072d1be
1 ha cambiato i file
con
6 aggiunte
e
3 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+6
-3
src/lol/base/avl_tree.h
+ 6
- 3
src/lol/base/avl_tree.h
Vedi File
@@ -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;
}
Scrivi
Anteprima
Caricamento…
Annulla
Salva