Преглед изворни кода

remove npe when element not found

banana-cakes
FelixBrendel пре 6 година
родитељ
комит
dd7db5b330
1 измењених фајлова са 0 додато и 1 уклоњено
  1. +0
    -1
      hashmap.hpp

+ 0
- 1
hashmap.hpp Прегледај датотеку

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



Loading…
Откажи
Сачувај