Browse Source

remove npe when element not found

banana-cakes
FelixBrendel 6 years ago
parent
commit
dd7db5b330
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      hashmap.hpp

+ 0
- 1
hashmap.hpp View File

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



Loading…
Cancel
Save