performance Prefer prefix ++/-- operators for non-primitive types.

Origin commit data
------------------
Branch: ni/coolstream
Commit: bb347b3a44
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-04-28 (Sat, 28 Apr 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2012-04-28 10:56:27 +02:00
parent 0ce6e40d80
commit 7ec8226ad2
41 changed files with 117 additions and 117 deletions

View File

@@ -445,7 +445,7 @@ std::list<UPnPAttribute> CUPnPDevice::SendSOAP(std::string servicename, std::str
std::list<CUPnPService>::iterator i;
std::list<UPnPAttribute> empty;
for (i=services.begin(); i != services.end(); i++)
for (i=services.begin(); i != services.end(); ++i)
{
if (i->servicename == servicename)
return i->SendSOAP(action, attribs);
@@ -458,7 +458,7 @@ std::list<std::string> CUPnPDevice::GetServices(void)
std::list<CUPnPService>::iterator i;
std::list<std::string> result;
for (i=services.begin(); i != services.end(); i++)
for (i=services.begin(); i != services.end(); ++i)
result.push_back(i->servicename);
return result;
}