The file "city.cpp" misses the following include: "#include < numeric >"
The function void City::shuffleTiles() has an error. You call:
"std::iota(shuffledTiles.begin(), shuffledTiles.end(), 1);"
However you need to change it to:
std::iota(shuffledTiles.begin(), shuffledTiles.end(), 0);
The 0 is important, because a vector is 0 initialised.
The file "city.cpp" misses the following include: "#include < numeric >" The function void City::shuffleTiles() has an error. You call: "std::iota(shuffledTiles.begin(), shuffledTiles.end(), 1);" However you need to change it to: std::iota(shuffledTiles.begin(), shuffledTiles.end(), 0);
The 0 is important, because a vector is 0 initialised.