Rename function gethandstring to handToString

This commit is contained in:
2023-10-29 21:43:02 +01:00
parent 890c0b04c0
commit 6d5e4b31fe
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ int Player::getHandValue() const
return value;
}
std::string Player::getHandString() const
std::string Player::handToString() const
{
std::string handString;
for (const auto &card : hand_)

View File

@@ -14,7 +14,7 @@ public:
Card getLastCard(void) const;
int getHandValue() const;
std::string getHandString() const;
std::string handToString() const;
private:
std::vector<std::unique_ptr<Card>> hand_;