In file included from /in/driver/main.cpp:5:0:
/in/hashtable.hpp: In instantiation of 'void HashTable<Key, Value, Hash, KeyEqual>::rehash(size_t) [with Key = int; Value = int; Hash = std::hash<int>; KeyEqual = std::equal_to<int>; size_t = long unsigned int]':
/in/hashtable.hpp:368:23: required from 'bool HashTable<Key, Value, Hash, KeyEqual>::insert(const HashTable<Key, Value, Hash, KeyEqual>::Iterator&, const Key&, const Value&) [with Key = int; Value = int; Hash = std::hash<int>; KeyEqual = std::equal_to<int>]'
/in/hashtable.hpp:388:22: required from 'bool HashTable<Key, Value, Hash, KeyEqual>::insert(const Key&, const Value&) [with Key = int; Value = int; Hash = std::hash<int>; KeyEqual = std::equal_to<int>]'
/in/driver/main.cpp:111:43: required from here
/in/hashtable.hpp:503:18: error: variable 'NewBucketIt' set but not used [-Werror=unused-but-set-variable]
auto NewBucketIt = this->buckets.begin();
^~~~~~~~~~~
/in/hashtable.hpp:504:35: error: variable 'newNode' set but not used [-Werror=unused-but-set-variable]
std::pair<Key, Value> newNode = std::pair<Key, Value>(0, 0);
^~~~~~~
cc1plus: all warnings being treated as errors