Fixed a typo and avoided a useless copy

This commit is contained in:
Olivier Teulière 2005-11-06 00:38:16 +00:00
parent 26b446f62b
commit d64e22dc6b
2 changed files with 2 additions and 2 deletions

View file

@ -108,7 +108,7 @@ int Duplicate::start()
return 1;
}
PlayedRack pld = m_players[m_currPlayer]->getCurrentRack();
const PlayedRack& pld = m_players[m_currPlayer]->getCurrentRack();
/* All the players have the same rack */
for (int i = 0; i < getNPlayers(); i++)
{

View file

@ -27,7 +27,7 @@ class Round;
/**
* This class is the parent classes for all the players involved in a game.
* This class is the parent class for all the players involved in a game.
* It defines the common metohds to update the rack, score, etc...
*/
class Player