Skip to content

Commit

Permalink
Update Country.h
Browse files Browse the repository at this point in the history
 added value to country enum
  • Loading branch information
Duggi-Niharika-Sai-06 authored Nov 30, 2023
1 parent 888c4b0 commit 2f04341
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/faker-cxx/types/Country.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ enum class Country
Ireland,
Belarus,
Estonia,
Bulgaria,
Iran,
};

Expand All @@ -61,7 +62,7 @@ const std::vector<Country> countries{
Country::Ukraine, Country::Denmark, Country::Sweden, Country::Brazil, Country::Norway,
Country::Japan, Country::Portugal, Country::Hungary, Country::Croatia, Country::Greece,
Country::Slovenia, Country::Austria, Country::Switzerland, Country::Belgium, Country::Netherlands,
Country::China, Country::Korea, Country::Canada, Country::Mexico, Country::Argentina,
Country::China, Country::Korea, Country::Canada, Country::Mexico, Country::Argentina, Country::Bulgaria,
Country::Australia, Country::Serbia, Country::Macedonia, Country::Albania, Country::Latvia, Country::Ireland,
Country::Belarus, Country::Estonia,Country::Iran,
};
Expand Down Expand Up @@ -112,6 +113,7 @@ inline std::string toString(Country country)
{Country::Ireland, "Ireland"},
{Country::Belarus, "Belarus"},
{Country::Estonia, "Estonia"},
{Country::Estonia, "Bulgaria"},
{Country::Iran, "Iran"}
};

Expand Down

0 comments on commit 2f04341

Please sign in to comment.