The book is a great learning experience, so please forgive any too detailed comments.
In chapter 2 page 42 the line
However, this means that the code that loops over the mActors vector and deletes the actors (such as in Game::Shutdown) must be written carefully:
The actual loop which is given in the book is in the member function Game::UnloadData() (which is actually called from Game::Shutdown)
The book is a great learning experience, so please forgive any too detailed comments.
In chapter 2 page 42 the line
The actual loop which is given in the book is in the member function
Game::UnloadData()(which is actually called fromGame::Shutdown)