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

This commit is contained in:
satbaby
2012-04-28 10:56:27 +02:00
parent f36ee26d87
commit bb347b3a44
41 changed files with 117 additions and 117 deletions

View File

@@ -527,7 +527,7 @@ void CUpnpBrowserGui::playnext(void)
}
#endif
results=m_devices[m_selecteddevice].SendSOAP("urn:schemas-upnp-org:service:ContentDirectory:1", "Browse", attribs);
for (i=results.begin(); i!=results.end(); i++)
for (i=results.begin(); i!=results.end(); ++i)
{
if (i->first=="NumberReturned")
{
@@ -644,7 +644,7 @@ bool CUpnpBrowserGui::selectItem(std::string id)
}
#endif
results=m_devices[m_selecteddevice].SendSOAP("urn:schemas-upnp-org:service:ContentDirectory:1", "Browse", attribs);
for (i=results.begin(); i!=results.end(); i++)
for (i=results.begin(); i!=results.end(); ++i)
{
if (i->first=="NumberReturned")
{