mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-31 01:15:48 -04:00
more performance fixes
This commit is contained in:
+2
-2
@@ -69,7 +69,7 @@ GenericAPICore::GenericAPICore(const char *hosts[],
|
||||
|
||||
GenericAPICore::~GenericAPICore()
|
||||
{
|
||||
for (std::vector<GenericConnection *>::iterator conIter = m_serverConnections.begin(); conIter != m_serverConnections.end(); conIter++)
|
||||
for (std::vector<GenericConnection *>::iterator conIter = m_serverConnections.begin(); conIter != m_serverConnections.end(); ++conIter)
|
||||
{
|
||||
GenericConnection *con = *conIter;
|
||||
delete con;
|
||||
@@ -209,7 +209,7 @@ void GenericAPICore::process()
|
||||
}
|
||||
}
|
||||
|
||||
for (std::vector<GenericConnection *>::iterator conIter = m_serverConnections.begin(); conIter != m_serverConnections.end(); conIter++)
|
||||
for (std::vector<GenericConnection *>::iterator conIter = m_serverConnections.begin(); conIter != m_serverConnections.end(); ++conIter)
|
||||
{
|
||||
GenericConnection *con = *conIter;
|
||||
con->process();
|
||||
|
||||
Reference in New Issue
Block a user