Visual Studio 2013 compilation support for Ryzom Server
This commit is contained in:
parent
9afb02343f
commit
8a2f4ea737
5 changed files with 13 additions and 9 deletions
|
@ -260,7 +260,7 @@ bool CDBDescriptionParser::loadType(xmlNodePtr node)
|
|||
return false;
|
||||
}
|
||||
|
||||
typeNode.EnumValues.push_back(make_pair<string, uint32>(name, value));
|
||||
typeNode.EnumValues.push_back(std::pair<string, uint32>(name, value));
|
||||
|
||||
if (typeNode.Dimension <= value)
|
||||
typeNode.Dimension = value;
|
||||
|
|
|
@ -571,7 +571,7 @@ void CPDSLib::update()
|
|||
CMessage* msgupd = new CMessage("PD_UPDATE");
|
||||
msgupd->serial(_DatabaseId);
|
||||
msgupd->serial(_UpdateId);
|
||||
_QueuedMessages.push_back(make_pair<uint32,CMessage*>(_UpdateId, msgupd));
|
||||
_QueuedMessages.push_back(std::pair<uint32, CMessage*>(_UpdateId, msgupd));
|
||||
++_UpdateId;
|
||||
|
||||
// serial queue
|
||||
|
|
|
@ -504,7 +504,7 @@ bool CUpdateLog::selectMessages(const CDBDescriptionParser& description, const N
|
|||
|
||||
if (message.getType() == CDbMessage::PushContext)
|
||||
{
|
||||
contextsStart.push_back(std::make_pair<uint, bool>(msg, false));
|
||||
contextsStart.push_back(std::pair<uint, bool>(msg, false));
|
||||
}
|
||||
else if (message.getType() == CDbMessage::PopContext)
|
||||
{
|
||||
|
@ -561,7 +561,7 @@ bool CUpdateLog::selectMessages(const CDBDescriptionParser& description, const s
|
|||
|
||||
if (message.getType() == CDbMessage::PushContext)
|
||||
{
|
||||
contextsStart.push_back(std::make_pair<uint, bool>(msg, false));
|
||||
contextsStart.push_back(std::pair<uint, bool>(msg, false));
|
||||
}
|
||||
else if (message.getType() == CDbMessage::PopContext)
|
||||
{
|
||||
|
@ -644,7 +644,7 @@ bool CUpdateLog::selectMessages(const CDBDescriptionParser& description, const N
|
|||
|
||||
if (message.getType() == CDbMessage::PushContext)
|
||||
{
|
||||
contextsStart.push_back(std::make_pair<uint, bool>(msg, false));
|
||||
contextsStart.push_back(std::pair<uint, bool>(msg, false));
|
||||
}
|
||||
else if (message.getType() == CDbMessage::PopContext)
|
||||
{
|
||||
|
|
|
@ -64,7 +64,7 @@ void CPDStringMapper::setMapping(const std::string& str, uint32 id)
|
|||
return;
|
||||
}
|
||||
|
||||
its = _StringMap.insert(std::make_pair<std::string, uint32>(lowMapStr, id)).first;
|
||||
its = _StringMap.insert(std::pair<std::string, uint32>(lowMapStr, id)).first;
|
||||
_IdMap[id] = its;
|
||||
}
|
||||
|
||||
|
|
|
@ -497,6 +497,10 @@ struct CColumnIndexHashMapTraits
|
|||
{
|
||||
return id.hash();
|
||||
}
|
||||
bool operator()(const CColumnIndex &left, const CColumnIndex &right)
|
||||
{
|
||||
return left.hash() < right.hash();
|
||||
}
|
||||
};
|
||||
|
||||
class CSetMap
|
||||
|
|
Loading…
Reference in a new issue