Update gtest_hash_table.cpp

This commit is contained in:
alexey-milovidov 2020-12-12 18:57:07 +03:00 committed by GitHub
parent 07c8293043
commit 6f50a86025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ template<typename HashTable>
std::set<typename HashTable::value_type> convertToSet(const HashTable& table)
{
std::set<typename HashTable::value_type> result;
for (auto v: table)
result.emplace(v.getValue());