mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-09-11 21:44:58 -04:00
Minor fixes including removing <> from make_pair usage and using explicit conversions where required by the explicit constructor flags
Now builds/runs using c++11
This commit is contained in:
@@ -168,12 +168,12 @@ void CentralServerConnection::onReceive(const Archive::ByteStream & message)
|
||||
// return an appropriate response.
|
||||
if( object && object->isAuthoritative() )
|
||||
{
|
||||
GenericValueTypeMessage< std::pair< unsigned int, bool > > rmsg( "CSFindAuthObjectReply", std::make_pair< unsigned int, bool >( msg.getValue().second, true ) );
|
||||
GenericValueTypeMessage< std::pair< unsigned int, bool > > rmsg( "CSFindAuthObjectReply", std::make_pair( msg.getValue().second, true ) );
|
||||
GameServer::getInstance().sendToCentralServer( rmsg );
|
||||
}
|
||||
else
|
||||
{
|
||||
GenericValueTypeMessage< std::pair< unsigned int, bool > > rmsg( "CSFindAuthObjectReply", std::make_pair< unsigned int, bool >( msg.getValue().second, false ) );
|
||||
GenericValueTypeMessage< std::pair< unsigned int, bool > > rmsg( "CSFindAuthObjectReply", std::make_pair( msg.getValue().second, false ) );
|
||||
GameServer::getInstance().sendToCentralServer( rmsg );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user