In file included from /in/driver/main.cpp:5:0:
/in/hashtable.hpp: In instantiation of 'HashTable<Key, Value, Hash, KeyEqual>::Iterator HashTable<Key, Value, Hash, KeyEqual>::erase(const HashTable<Key, Value, Hash, KeyEqual>::Iterator&) [with Key = int; Value = int; Hash = std::hash<int>; KeyEqual = std::equal_to<int>]':
/in/hashtable.hpp:353:14: required from 'bool HashTable<Key, Value, Hash, KeyEqual>::erase(const Key&) [with Key = int; Value = int; Hash = std::hash<int>; KeyEqual = std::equal_to<int>]'
/in/driver/main.cpp:120:35: required from here
/in/hashtable.hpp:367:5: error: no return statement in function returning non-void [-Werror=return-type]
}
^
/in/hashtable.hpp:365:36: error: unused parameter 'it' [-Werror=unused-parameter]
Iterator erase(const Iterator &it) {
^~
cc1plus: all warnings being treated as errors