mirror of
https://github.com/kierankihn/uno-game.git
synced 2025-12-27 02:13:18 +08:00
fix(game): use std::move for name in ClientPlayerState constructor
This commit is contained in:
@@ -42,7 +42,7 @@ namespace UNO::GAME {
|
||||
}
|
||||
|
||||
ClientPlayerState::ClientPlayerState(std::string name, size_t remainingCardCount, bool isUno) :
|
||||
PlayerState(name, remainingCardCount, isUno)
|
||||
PlayerState(std::move(name), remainingCardCount, isUno)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user