mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Code style: use parentheses for creating heap-based objects (#344)
This commit is contained in:
@ -50,8 +50,8 @@ void CConnection::init()
|
||||
oser & std::string("Aiya!\n") & name & myEndianess; //identify ourselves
|
||||
iser & pom & pom & contactEndianess;
|
||||
logNetwork->infoStream() << "Established connection with "<<pom;
|
||||
wmx = new boost::mutex;
|
||||
rmx = new boost::mutex;
|
||||
wmx = new boost::mutex();
|
||||
rmx = new boost::mutex();
|
||||
|
||||
handler = nullptr;
|
||||
receivedStop = sendStop = false;
|
||||
|
Reference in New Issue
Block a user