Este site funciona melhor com JavaScript.
Página inicial
Ajuda
Acessar
lolengine
/
lol
espelhamento de
https://github.com/lolengine/lol
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Versões
0
Wiki
Atividade
Ver código fonte
base: fix a data loss bug in the avl_tree copy constructor.
undefined
Sam Hocevar
11 anos atrás
pai
b907e0d03d
commit
7cc072d1be
1 arquivos alterados
com
6 adições
e
3 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+6
-3
src/lol/base/avl_tree.h
+ 6
- 3
src/lol/base/avl_tree.h
Ver arquivo
@@ -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;
}
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar