Przeglądaj źródła

remove npe when element not found

banana-cakes
FelixBrendel 6 lat temu
rodzic
commit
dd7db5b330
1 zmienionych plików z 0 dodań i 1 usunięć
  1. +0
    -1
      hashmap.hpp

+ 0
- 1
hashmap.hpp Wyświetl plik

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



Ładowanie…
Anuluj
Zapisz