Este sitio web funciona mejor con JavaScript.
Inicio
Ayuda
Iniciar sesión
lolengine
/
lol
réplica de
https://github.com/lolengine/lol
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
base: fix a data loss bug in the avl_tree copy constructor.
undefined
Sam Hocevar
hace 10 años
padre
b907e0d03d
commit
7cc072d1be
Se han
modificado 1 ficheros
con
6 adiciones
y
3 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+6
-3
src/lol/base/avl_tree.h
+ 6
- 3
src/lol/base/avl_tree.h
Ver fichero
@@ -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;
}
Escribir
Vista previa
Cargando…
Cancelar
Guardar