Sfoglia il codice sorgente

remove npe when element not found

banana-cakes
FelixBrendel 6 anni fa
parent
commit
dd7db5b330
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. +0
    -1
      hashmap.hpp

+ 0
- 1
hashmap.hpp Vedi File

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



Caricamento…
Annulla
Salva