Fix Intel compiler issue #9 (compiler does not like CompressedTuple)

This commit is contained in:
greg
2019-05-15 08:59:29 -04:00
parent 9862cf2dcd
commit 9b205856e0
2 changed files with 8 additions and 7 deletions
+1 -6
View File
@@ -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)