mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2025-01-29 20:34:56 +01:00
Fixed a typo and avoided a useless copy
This commit is contained in:
parent
26b446f62b
commit
d64e22dc6b
2 changed files with 2 additions and 2 deletions
|
@ -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++)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue