more performance fixes

This commit is contained in:
DarthArgus
2014-10-27 21:03:48 -07:00
parent a3d22e877a
commit 4d0d2b0e15
9 changed files with 87 additions and 87 deletions
@@ -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();