mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-30 00:50:38 +08:00
Fix Intel compiler issue #9 (compiler does not like CompressedTuple)
This commit is contained in:
+1
-6
@@ -7,12 +7,7 @@ using phmap::flat_hash_map;
|
||||
int main()
|
||||
{
|
||||
// Create an unordered_map of three strings (that map to strings)
|
||||
flat_hash_map<std::string, std::string> email =
|
||||
{
|
||||
{ "tom", "tom@gmail.com"},
|
||||
{ "jeff", "jk@gmail.com"},
|
||||
{ "jim", "jimg@microsoft.com"}
|
||||
};
|
||||
flat_hash_map<std::string, std::string> email;
|
||||
|
||||
// Iterate and print keys and values
|
||||
for (const auto& n : email)
|
||||
|
||||
Reference in New Issue
Block a user