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

@@ -69,8 +69,8 @@ void CLastChannel::store (int channel, t_channel_id channel_id, bool /* forceSto
/* remove this channel at other than 0 position */
if(this->lastChannels.size() > 1) {
It = this->lastChannels.begin();
It++;
for (; It != this->lastChannels.end() ; It++) {
++It;
for (; It != this->lastChannels.end() ; ++It) {
if (channel_id == It->channel_id) {
this->lastChannels.erase(It);
break;