mirror of
https://github.com/SWG-Source/src.git
synced 2026-10-18 10:03:06 -04:00
and more performance tweaks
This commit is contained in:
@@ -632,7 +632,7 @@ void apiCore::Process()
|
||||
while (mapIterator != mRequestMap.end())
|
||||
{
|
||||
apiTrackedRequest & request = (*mapIterator).second;
|
||||
mapIterator++;
|
||||
++mapIterator;
|
||||
|
||||
if (request.Expired())
|
||||
{
|
||||
|
||||
@@ -1657,7 +1657,7 @@ namespace LoginAPI
|
||||
Message::NotifySessionKick message(iterator);
|
||||
|
||||
std::vector<const char *> sessionList;
|
||||
for (std::vector<std::string>::const_iterator i=message.GetSessionList().begin(); i!=message.GetSessionList().end(); i++)
|
||||
for (std::vector<std::string>::const_iterator i=message.GetSessionList().begin(); i!=message.GetSessionList().end(); ++i)
|
||||
{
|
||||
sessionList.push_back(i->c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user