changed use of deprecated std::hash_set to unordered set