mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Code style: remove default value hints in definitions (#342)
Some are outdated and this is something IDE are useful for.
This commit is contained in:
@@ -61,7 +61,7 @@ static void vaccept(boost::asio::ip::tcp::acceptor *ac, boost::asio::ip::tcp::so
|
||||
|
||||
|
||||
|
||||
CPregameServer::CPregameServer(CConnection *Host, TAcceptor *Acceptor /*= nullptr*/)
|
||||
CPregameServer::CPregameServer(CConnection * Host, TAcceptor * Acceptor)
|
||||
: host(Host), listeningThreads(0), acceptor(Acceptor), upcomingConnection(nullptr),
|
||||
curmap(nullptr), curStartInfo(nullptr), state(RUNNING)
|
||||
{
|
||||
@@ -241,7 +241,7 @@ void CPregameServer::start_async_accept()
|
||||
acceptor->async_accept(*upcomingConnection, std::bind(&CPregameServer::connectionAccepted, this, _1));
|
||||
}
|
||||
|
||||
void CPregameServer::announceTxt(const std::string &txt, const std::string &playerName /*= "system"*/)
|
||||
void CPregameServer::announceTxt(const std::string &txt, const std::string &playerName)
|
||||
{
|
||||
logNetwork->info("%s says: %s", playerName, txt);
|
||||
ChatMessage cm;
|
||||
|
||||
Reference in New Issue
Block a user