mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Fixed some newly reported issues from SonarCloud
This commit is contained in:
@@ -90,7 +90,7 @@ public:
|
||||
void announcePack(std::unique_ptr<CPackForLobby> pack);
|
||||
bool passHost(int toConnectionId);
|
||||
|
||||
void announceTxt(MetaString txt, const std::string & playerName = "system");
|
||||
void announceTxt(const MetaString & txt, const std::string & playerName = "system");
|
||||
void announceTxt(const std::string & txt, const std::string & playerName = "system");
|
||||
|
||||
void setPlayerConnectedId(PlayerSettings & pset, ui8 player) const;
|
||||
@@ -100,7 +100,7 @@ public:
|
||||
void clientDisconnected(std::shared_ptr<CConnection> c);
|
||||
void reconnectPlayer(int connId);
|
||||
|
||||
void announceMessage(MetaString txt);
|
||||
void announceMessage(const MetaString & txt);
|
||||
void announceMessage(const std::string & txt);
|
||||
|
||||
void handleReceivedPack(std::unique_ptr<CPackForLobby> pack);
|
||||
|
||||
Reference in New Issue
Block a user