mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user