Explorar el Código

remove npe when element not found

banana-cakes
FelixBrendel hace 6 años
padre
commit
dd7db5b330
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. +0
    -1
      hashmap.hpp

+ 0
- 1
hashmap.hpp Ver fichero

@@ -89,7 +89,6 @@ struct Hash_Map {
if (index != -1) {
return data[index].object;
}
int a = *((int*)(nullptr));
return 0;
}



Cargando…
Cancelar
Guardar